Expand description
Common polynomial utilities shared by prover and verifier
Structs§
- ExpPowers2
- Univariate
Poly - Univariate polynomial in coefficient form.
Traits§
Functions§
- eq_
uni_ poly - Returns
eq_D(x, Z)as a polynomial inZin coefficient form. Derived fromeq_D(x, Z)being the Lagrange basis atx, which is the character sum over the roots of unity. - eval_
eq_ mle - eval_
eq_ prism - eval_
eq_ rot_ cube - MLE of cyclic rotation kernel on hypercube
- eval_
eq_ sharp_ uni - Length of
xi_1should bel_skip. - eval_
eq_ uni - Let D be the univariate skip domain, the subgroup of
F^*of order2^l_skip. - eval_
eq_ uni_ at_ one - Let D be the univariate skip domain, the subgroup of
F^*of order2^l_skip. - eval_
in_ uni - eval_
mle_ evals_ at_ point - Evaluate the MLE defined by its hypercube evaluations at an arbitrary point, in place.
- eval_
mobius_ eq_ mle - Evaluate
mobius_eq_poly(u_tilde)at an arbitrary pointx. - eval_
rot_ kernel_ prism \kappa_\rot(x, y)should equal\delta_{x,rot(y)}on hyperprism.- evals_
eq_ hypercube_ serial - horner_
eval - Evaluates univariate polynomial using Horner’s method.
- interpolate_
cubic_ at_ 0123 - Interpolates a cubic polynomial through points (0, evals[0]), (1, evals[1]), (2, evals[2]), (3, evals[3]) and evaluates it at x.
- interpolate_
linear_ at_ 01 - Interpolates a linear polynomial through points (0, evals[0]), (1, evals[1]) and evaluates it at x.
- interpolate_
quadratic_ at_ 012 - Interpolates a quadratic polynomial through points (0, evals[0]), (1, evals[1]), (2, evals[2]) and evaluates it at x.