Modules§
- fft
- Contains an implementation of computing convolutions using complex FFTs.
- generic_
tests - karatsuba
- Contains an optimized implementation of Karatsuba’s for computing convolutions
- ntt
- rns
Structs§
- Karatsuba
Algorithm - Implementation of convolutions that uses Karatsuba’s algorithm
with a threshold defined by
KaratsubaHint.
Constants§
- STANDARD_
CONVOLUTION - Good default algorithm for computing convolutions, using Karatsuba’s algorithm
with a threshold defined by
KaratsubaHint.
Traits§
- Convolution
Algorithm - Trait for objects that can compute a convolution over some ring.
- Karatsuba
Hint - Trait to allow rings to customize the parameters with which
KaratsubaAlgorithmwill compute convolutions over the ring. - Prepared
Convolution Algorithm - Trait for convolution algorithms that can “prepare” one (or both) operands in advance by computing additional data, and then use this data to perform the actual convolution more efficiently.
- Prepared
Convolution Operation - Operation that only makes sense when
CimplementsPreparedConvolutionAlgorithm. Used together withConvolutionAlgorithm::specialize_prepared_convolution()as a workaround for specialization.