|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--lima.mathematical.factorisation.quadraticsieve.PartialRelation
An object of this class represents a partial relation, as found by the Quadratic Sieve algorithm.
| Constructor Summary | |
PartialRelation(int[][] factors,
java.math.BigInteger x1sq)
Construct a new Partial Relation object |
|
PartialRelation(lima.mathematical.factorisation.quadraticsieve.PartialRelation that)
Construct a new Partial Relation object |
|
| Method Summary | |
void |
finishedWith()
Mark this as used |
int[][] |
getFactors()
Return an array with tuples (index, exponent) |
java.math.BigInteger |
getSquare()
Return the root of the perfect square the product of the factors is equal to, mod n |
boolean |
used()
Return whether this PR has been used to create a full relation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PartialRelation(int[][] factors,
java.math.BigInteger x1sq)
x1sq - - the perfect sqaure this is equal to modulo npublic PartialRelation(lima.mathematical.factorisation.quadraticsieve.PartialRelation that)
that - - partial relation to copy| Method Detail |
public int[][] getFactors()
public java.math.BigInteger getSquare()
public boolean used()
public void finishedWith()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||