Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate<F: Float>(c: &[F], x: &[F], out: &mut Vec<F>)
Expand description

Appends to out the value of the polynomial c at each item of x, by Horner’s rule. An f16 polynomial computes in f32 and rounds each result once.