NTT (fast number theory transformation)

Copyright: Konjac not easy to write articles, you want to reprint big brother to tell me, QAQ https://blog.csdn.net/qq_38944163/article/details/89194764

Pre-knowledge

France and France kick (fft)

If you do not understand the FFT can first look


FFT shortcomings

1, involves complex numbers (Double), so slow runner
2, to use Fr. \pi , accuracy will be errors
3, ...... anyway, there it wants

NTT post cards often

Here Insert Picture Description

After the card is often FFT

Here Insert Picture Description

This is the gap


NTT role

First wave of nonsense

Guess you like

Origin blog.csdn.net/qq_38944163/article/details/89194764