|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LongModConstants
Constants needed for various modular arithmetic operations for the long type.
| Field Summary | |
|---|---|
static long |
MAX_POWER_OF_TWO_BASE
Maximum power-of-two base that fits in a long. |
static int |
MAX_POWER_OF_TWO_BITS
Maximum bits in a power-of-two base that fits in a long. |
static long |
MAX_TRANSFORM_LENGTH
Maximum transform length for the moduli. |
static long[] |
MODULUS
Moduli to be used in number theoretic transforms. |
static long[] |
PRIMITIVE_ROOT
Primitive roots for the corresponding moduli. |
| Field Detail |
|---|
static final long[] MODULUS
static final long[] PRIMITIVE_ROOT
static final long MAX_TRANSFORM_LENGTH
static final int MAX_POWER_OF_TWO_BITS
long.
static final long MAX_POWER_OF_TWO_BASE
long.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||