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 Solvers4
Suggested Problems
-
Remove any row in which a NaN appears
8796 Solvers
-
Construct a string from letters and counts
147 Solvers
-
Flip the main diagonal of a matrix
927 Solvers
-
Volume difference between Ellipsoid and Sphere
137 Solvers
-
Kryptos - CIA Cypher Sculpture: Vignere Decryption
65 Solvers
More from this Author65
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!