Modulesยง
- ntt_
simd ๐
Macrosยง
- impl_
ntt_ ๐modulus
Structsยง
Constantsยง
- BIT_
REVERSE ๐ - LAZY_
THRESHOLD ๐
Traitsยง
Functionsยง
- add_
scalar ๐ - batch_
ntt_ ๐simd_ backend - convert_
crt_ ๐input - convolve_
karatsuba ๐ - convolve_
large_ ๐ntt - convolve_
mint_ ๐crt - convolve_
naive ๐ - convolve_
u64_ ๐fft - convolve_
u64_ ๐fft_ scalar - intt ๐
- intt_
batch ๐ - intt_
batch_ ๐scalar - intt_
rows ๐ - intt_
scalar ๐ - mod_mul ๐
- mod_pow ๐
- mul_
scalar ๐ - ntt ๐
- ntt_
batch ๐ - ntt_
batch_ ๐scalar - ntt_
rows ๐ - ntt_
scalar ๐ - pointwise_
multiply ๐ - pointwise_
multiply_ ๐add - reconstruct_
mint_ ๐crt - reduce ๐
- sub_
scalar ๐ - use_
block_ ๐ntt
Type Aliasesยง
- Convolve998244353
- MInt
Convolve - Raw transforms require each integer coefficient reconstructed by CRT to be below
the product of the three NTT moduli.
convolvesplits products exceeding this bound. - MVec ๐
- U64Convolve
- Convolution modulo 2^64. Multiply only freshly transformed operands; reconstruct and transform again before multiplying another factor.