Class TDiv_CF01
- java.lang.Object
-
- de.tilman_neumann.jml.factor.cfrac.tdiv.TDiv_CF01
-
-
Constructor Summary
Constructors Constructor Description TDiv_CF01()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()voidinitialize(BigInteger N, double maxQRest)Initialize for a new N.voidinitialize(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.AQPairtest(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_CFInitialize for a new N.- Specified by:
initializein interfaceTDiv_CF
-
initialize
public void initialize(BigInteger kN, int primeBaseSize, int[] primesArray)
Description copied from interface:TDiv_CFInitialize this factorizer for a new k; in particular set the prime base to be used for trial division.- Specified by:
initializein interfaceTDiv_CFprimeBaseSize- 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_CFCheck if Q is smooth (factors completely over the prime base) or "sufficiently smooth" (factors almost over the prime base).
-
-