Class TDiv_CF63_01
- java.lang.Object
-
- de.tilman_neumann.jml.factor.cfrac.tdiv.TDiv_CF63_01
-
-
Constructor Summary
Constructors Constructor Description TDiv_CF63_01()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
void
initialize(BigInteger N, double maxQRest)
Initialize for a new N.void
initialize(BigInteger kN, int primeBaseSize, int[] primesArray)
Initialize this factorizer for a new k; in particular set the prime base to be used for trial division.AQPair
test(BigInteger A, long Q)
Check if Q is smooth (factors completely over the prime base) or "sufficiently smooth" (factors almost over the prime base).
-
-
-
Method Detail
-
getName
public String getName()
-
initialize
public void initialize(BigInteger N, double maxQRest)
Description copied from interface:TDiv_CF63
Initialize for a new N.- Specified by:
initialize
in interfaceTDiv_CF63
-
initialize
public void initialize(BigInteger kN, int primeBaseSize, int[] primesArray)
Description copied from interface:TDiv_CF63
Initialize this factorizer for a new k; in particular set the prime base to be used for trial division.- Specified by:
initialize
in interfaceTDiv_CF63
primeBaseSize
- the true prime base size (the arrays are preallocated with a bigger length)primesArray
- prime base in ints
-
test
public AQPair test(BigInteger A, long Q)
Description copied from interface:TDiv_CF63
Check if Q is smooth (factors completely over the prime base) or "sufficiently smooth" (factors almost over the prime base).
-
-