pub fn powf<S: ScalarAd>(x: S, exponent: S::Real) -> S
Primal powf.
powf
use chainrules::powf; assert_eq!(powf(2.0_f64, 3.0), 8.0);