num::traits

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: f32, b: f32)

Source§

impl MulAddAssign for f64

Source§

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

Source§

impl MulAddAssign for i8

Source§

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

Source§

impl MulAddAssign for i16

Source§

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

Source§

impl MulAddAssign for i32

Source§

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

Source§

impl MulAddAssign for i64

Source§

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

Source§

impl MulAddAssign for i128

Source§

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

Source§

impl MulAddAssign for isize

Source§

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

Source§

impl MulAddAssign for u8

Source§

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

Source§

impl MulAddAssign for u16

Source§

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

Source§

impl MulAddAssign for u32

Source§

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

Source§

impl MulAddAssign for u64

Source§

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

Source§

impl MulAddAssign for u128

Source§

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

Source§

impl MulAddAssign for usize

Source§

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

Implementors§

Source§

impl<'a, 'b, T> MulAddAssign<&'a Complex<T>, &'b Complex<T>> for Complex<T>

Source§

impl<T> MulAddAssign for Complex<T>