104 FF partial_evaluation_constant =
FF(1);
109 , zeta_pow_sqr(zeta_pow.
sqr())
113 FF univariate_eval(
FF challenge)
const {
return (
FF(1) + (challenge * (zeta_pow -
FF(1)))); };
123 FF current_univariate_eval = univariate_eval(challenge);
124 zeta_pow = zeta_pow_sqr;
126 zeta_pow_sqr = zeta_pow_sqr.
sqr();
128 partial_evaluation_constant *= current_univariate_eval;
constexpr_utils defines some helper methods that perform some stl-equivalent operations but in a cons...
Definition: constexpr_utils.hpp:16
void partially_evaluate(FF challenge)
Parially evaluate the polynomial in the new challenge, by updating the constant c_{l} -> c_{l+1}....
Definition: pow.hpp:121
BBERG_INLINE constexpr field sqr() const noexcept
Definition: field_impl.hpp:61