org.apfloat.internal
Interface FloatModConstants

All Known Implementing Classes:
Float3NTTConvolutionStrategy, FloatCarryCRT, FloatCRTMath, FloatFactor3NTTStrategy, FloatSixStepFNTStrategy, FloatTableFNTStrategy, FloatTwoPassFNTStrategy

public interface FloatModConstants

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

Version:
1.0
Author:
Mikko Tommila

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

Field Detail

MODULUS

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


PRIMITIVE_ROOT

public static final float[] 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 float.

See Also:
Constant Field Values

MAX_POWER_OF_TWO_BASE

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

See Also:
Constant Field Values