Class TDiv_CF02
- java.lang.Object
-
- de.tilman_neumann.jml.factor.cfrac.tdiv.TDiv_CF02
-
-
Constructor Summary
Constructors Constructor Description TDiv_CF02()
-
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, BigInteger 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_CF
Initialize for a new N.- Specified by:
initialize
in interfaceTDiv_CF
-
initialize
public void initialize(BigInteger kN, int primeBaseSize, int[] primesArray)
Description copied from interface:TDiv_CF
Initialize this factorizer for a new k; in particular set the prime base to be used for trial division.- Specified by:
initialize
in interfaceTDiv_CF
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, BigInteger Q)
Description copied from interface:TDiv_CF
Check if Q is smooth (factors completely over the prime base) or "sufficiently smooth" (factors almost over the prime base).
-
-