org.apfloat.internal
Interface DoubleModConstants

All Known Implementing Classes:
Double3NTTConvolutionStrategy, DoubleCarryCRT, DoubleCRTMath, DoubleFactor3NTTStrategy, DoubleSixStepFNTStrategy, DoubleTableFNTStrategy, DoubleTwoPassFNTStrategy

public interface DoubleModConstants

Constants needed for various modular arithmetic operations for the double type.


Field Summary
static double MAX_POWER_OF_TWO_BASE
          Maximum power-of-two base that fits in a double.
static int MAX_POWER_OF_TWO_BITS
          Maximum bits in a power-of-two base that fits in a double.
static long MAX_TRANSFORM_LENGTH
          Maximum transform length for the moduli.
static double[] MODULUS
          Moduli to be used in number theoretic transforms.
static double[] PRIMITIVE_ROOT
          Primitive roots for the corresponding moduli.
 

Field Detail

MODULUS

public static final double[] MODULUS
Moduli to be used in number theoretic transforms. Allows transform lengths upto 3*243.


PRIMITIVE_ROOT

public static final double[] PRIMITIVE_ROOT
Primitive roots for the corresponding moduli.


MAX_TRANSFORM_LENGTH

public static final long MAX_TRANSFORM_LENGTH
Maximum transform length for the moduli.

See Also:
Constant Field Values

MAX_POWER_OF_TWO_BITS

public static final int MAX_POWER_OF_TWO_BITS
Maximum bits in a power-of-two base that fits in a double.

See Also:
Constant Field Values

MAX_POWER_OF_TWO_BASE

public static final double MAX_POWER_OF_TWO_BASE
Maximum power-of-two base that fits in a double.

See Also:
Constant Field Values