Trait snarkvm_fields::FftParameters[][src]

Expand description

A trait that defines parameters for a field that can be used for FFTs.

Associated Types

Associated Constants

Let N be the size of the multiplicative group defined by the field. Then TWO_ADICITY is the two-adicity of N, i.e. the integer s such that N = 2^s * t for some odd integer t. 2^s * t = MODULUS - 1 with t odd. This is the two-adicity of the prime.

2^s root of unity computed by GENERATOR^t

An integer b such that there exists a multiplicative subgroup of size b^k for some integer k.

The integer k such that there exists a multiplicative subgroup of size Self::SMALL_SUBGROUP_BASE^k.

GENERATOR^((MODULUS-1) / (2^s * SMALL_SUBGROUP_BASE^SMALL_SUBGROUP_BASE_ADICITY)) Used for mixed-radix FFT.

Implementors