num_traits::ops::mul_add

Trait 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§

Source

fn mul_add_assign(&mut self, a: A, b: B)

Performs the fused multiply-add assignment operation *self = (*self * a) + b

Implementations on Foreign Types§

Source§

impl MulAddAssign for f32

Source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Source§

impl MulAddAssign for f64

Source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Source§

impl MulAddAssign for i8

Source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Source§

impl MulAddAssign for i16

Source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Source§

impl MulAddAssign for i32

Source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Source§

impl MulAddAssign for i64

Source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Source§

impl MulAddAssign for i128

Source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Source§

impl MulAddAssign for isize

Source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Source§

impl MulAddAssign for u8

Source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Source§

impl MulAddAssign for u16

Source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Source§

impl MulAddAssign for u32

Source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Source§

impl MulAddAssign for u64

Source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Source§

impl MulAddAssign for u128

Source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Source§

impl MulAddAssign for usize

Source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Implementors§