Skip to main content

value

Function value 

Source
pub fn value<T>(c: &[T], x: &T) -> Result<T, Error>
where T: Clone + NumAssignRef,
Expand description

The value of the polynomial c at x, by Horner’s rule, for any T with the field operations, such as an exact rational. evaluate computes the values of a float polynomial at many points at once. It checks for an interrupt between groups of BETWEEN_CHECKS coefficients.