Expand description
This contains the DomainConstantEvaluations which is used to provide precomputations to a ConstraintSystem.
Structs§
- Domain
Constant Evaluations - pre-computed polynomials that depend only on the chosen field and domain
Functions§
- domain_
points 🔒 - The points of
domain(g^0, g^1, …), computed in parallel. Each chunk seeds its first power with a single exponentiation and then walks a running product, so the work isO(n)multiplications spread across the cores with only onepowper chunk of overhead. For domains smaller than the chunk size this is a single sequential chunk, so the parallelism never dominates. - eval_
from_ 🔒roots_ over_ d8 - Evaluate the polynomial
Π (x - root)(given by its roots) at every point ofd8, wherex_d8holds the d8 domain points. For the low-degree vanishing polynomials this is far cheaper than padding to 8n coefficients and running an FFT, and it parallelises trivially over the points.