Function forest_actor::util::math::poly_val [−][src]
pub fn poly_val(poly: &[BigInt], x: &BigInt) -> BigInt
polyval evaluates a polynomial given by coefficients p
in Q.128 format
at point x
in Q.128 format. Output is in Q.128.
Coefficients should be ordered from the highest order coefficient to the lowest.