Trait num_traits::ops::mul_add::MulAddAssign
source · pub trait MulAddAssign<A = Self, B = Self> {
// Required method
fn mul_add_assign(&mut self, a: A, b: B);
}
Expand description
The fused multiply-add assignment operation *self = (*self * a) + b
Required Methods§
sourcefn mul_add_assign(&mut self, a: A, b: B)
fn mul_add_assign(&mut self, a: A, b: B)
Performs the fused multiply-add assignment operation *self = (*self * a) + b