Skip to main content

horner_eval

Function horner_eval 

Source
pub fn horner_eval<F1, F2, F3>(coeffs: &[F1], x: F2) -> F3
where F1: Field, F2: Field, F3: Field + Add<F1, Output = F3> + Mul<F2, Output = F3>,
Expand description

Evaluates univariate polynomial using Horner’s method.