Unverified Commit 624c9fc8 authored by Jeremy Kun's avatar Jeremy Kun Committed by GitHub
Browse files

Upstream polynomial.ntt and polynomial.intt (#90992)



These two ops represent a number-theoretic transform of a polynomial to
a tensor of evaluations of the polynomial at a list of powers of
primitive roots of the polynomial.

To support this, a new optional attribute is added to the ring attribute
to specify the primitive root of unity used for the NTT. A verifier for
the op is added to ensure the chosen root is a primitive nth root of
unity.

---------

Co-authored-by: default avatarJeremy Kun <j2kun@users.noreply.github.com>
Co-authored-by: default avatarOleksandr "Alex" Zinenko <ftynse@gmail.com>
parent 716eab78
Pipeline #2074 failed with stages
in 0 seconds
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment