Function quaternion_core::scale_add
source · [−]pub fn scale_add<T>(s: T, a: Quaternion<T>, b: Quaternion<T>) -> Quaternion<T> where
T: FloatSimd<T>, Expand description
s*a + b
If the fma feature is enabled, the FMA calculation is performed using the mul_add method.
If not enabled, it’s computed by unfused multiply-add (s*a + b).