#competitive-programming #competitive #fft #ntt

cpntt

An implementation of Number Theoretic Transform for competitive programming

2 releases

0.1.1 Nov 15, 2024
0.1.0 Nov 15, 2024

#525 in Math

Download history 203/week @ 2024-11-12 35/week @ 2024-11-19 1/week @ 2024-11-26

239 downloads per month

CC0 license

81KB
2K SLoC

cpntt

This is an implementation of Number Theoretic Transform for competitive programming.

The methods in this library work efficiently in environments where AVX2 is available.

convolution module

This library also provides methods that perform convolution.

These methods do not constrain the length of the input array by any modulus.

License

This library is published with CC0-1.0 license.

For more details, please refer to LICENSE.

No runtime deps