Class SieveParams
- java.lang.Object
-
- de.tilman_neumann.jml.factor.siqs.sieve.SieveParams
-
public class SieveParams extends Object
Basic parameters for the quadratic sieve.- Author:
- Tilman Neumann
-
-
Field Summary
Fields Modifier and Type Field Description byte
initializer
sieve array initializer valuefloat
lnPMultiplier
multiplier to scale ln(p) values to the chosen log basedouble
maxQRest
maximal Q_rest accepted as smooth candidateint
pMax
the largest prime in the prime baseint
pMin
the smallest prime used for sieving.int
pMinIndex
the index of the smallest prime used for sieving.int
sieveArraySize
the size of the sieve array (per sign)
-
Constructor Summary
Constructors Constructor Description SieveParams(BigInteger kN, int[] primeBase, int primeBaseSize, int sieveArraySize, double maxQRest, int wantedMinLogPSum)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getInitializerBlock()
-
-
-
Field Detail
-
pMinIndex
public int pMinIndex
the index of the smallest prime used for sieving.
-
pMin
public int pMin
the smallest prime used for sieving.
-
pMax
public int pMax
the largest prime in the prime base
-
sieveArraySize
public int sieveArraySize
the size of the sieve array (per sign)
-
maxQRest
public double maxQRest
maximal Q_rest accepted as smooth candidate
-
initializer
public byte initializer
sieve array initializer value
-
lnPMultiplier
public float lnPMultiplier
multiplier to scale ln(p) values to the chosen log base
-
-
Constructor Detail
-
SieveParams
public SieveParams(BigInteger kN, int[] primeBase, int primeBaseSize, int sieveArraySize, double maxQRest, int wantedMinLogPSum)
-
-