We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let (_, h_eval) = self .h_evals .iter() .fold((C::Scalar::one(), C::Scalar::zero()), |(cur, acc), eval| { (cur * &x_3n, acc + &(cur * eval)) });
Rewriting x^n as x, we can apply Horner's rule to simplify
let h_eval = self .h_evals .iter() .rev() .fold(C::Scalar::zero(), |acc, eval| { acc * &x_3n + eval });
The text was updated successfully, but these errors were encountered:
Simplify h(x_3) computation in verifier using Horner's rule
b808898
Closes #45
f109b71
7f29ab9
str4d
Successfully merging a pull request may close this issue.
Rewriting x^n as x, we can apply Horner's rule to simplify
The text was updated successfully, but these errors were encountered: