All Packages Class Hierarchy This Package Previous Next Index
Class benno.number.QuadraticForm
java.lang.Object
|
+----benno.number.QuadraticForm
- public class QuadraticForm
- extends Object
this is for Number Theory MAS320@qmw, coursework 4.
It represents a form A x^2 + B xy + C y^2
-
A
-
-
B
-
-
C
-
-
QuadraticForm(long, long, long)
-
-
definiteReductionStep()
- this makes one step in the definite form reduction
algorithm.
-
discriminant()
-
-
firstRoot()
-
-
isDefinite()
-
-
isReduced()
-
-
rightNeighbour(long)
- returns the right neighbour by k
-
toString()
-
A
public long A
B
public long B
C
public long C
QuadraticForm
public QuadraticForm(long a,
long b,
long c)
toString
public String toString()
- Overrides:
- toString in class Object
discriminant
public long discriminant()
isDefinite
public boolean isDefinite()
isReduced
public boolean isReduced()
firstRoot
public QuadraticIrrational firstRoot()
rightNeighbour
public QuadraticForm rightNeighbour(long k)
- returns the right neighbour by k
definiteReductionStep
public QuadraticForm definiteReductionStep()
- this makes one step in the definite form reduction
algorithm.
All Packages Class Hierarchy This Package Previous Next Index