astro::Horner_eval!
[−]
[src]
macro_rules! Horner_eval { ($x:expr, $c:expr, $($a:expr),*) => { ... }; }
Evaluates a polynomial using Horner's algorithm
Arguments
$x
: The value of the independent variablef32 or f64
$c
: The constant termf32 or f64
$($a),*
: Sequence of coefficient terms for$x
, in ascending powers of$x