Given an input polynomial (r) of length <=n and a prime number (p) such that an nth root of unity exists and the modular inverse of (n) modulus p exists. Convert the polynominal coefficents by Number Theoretic Transform (NTT) using the primitive nth root of unity as the generator mod p.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers3
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3062 Solvers
-
Count from 0 to N^M in base N.
240 Solvers
-
All your base are belong to us
575 Solvers
-
Solve the set of simultaneous linear equations
493 Solvers
-
299 Solvers
More from this Author61
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!