pub fn mul<S: ScalarAd>(x: S, y: S) -> S
Primal mul.
mul
use chainrules::mul; assert_eq!(mul(2.0_f64, 4.0_f64), 8.0_f64);