Trait malachite_base::num::arithmetic::traits::AddMulAssign

source ·
pub trait AddMulAssign<Y = Self, Z = Self> {
    // Required method
    fn add_mul_assign(&mut self, y: Y, z: Z);
}
Expand description

Adds a number and the product of two other numbers, in place.

Required Methods§

source

fn add_mul_assign(&mut self, y: Y, z: Z)

Implementations on Foreign Types§

source§

impl AddMulAssign for f32

source§

fn add_mul_assign(&mut self, y: f32, z: f32)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl AddMulAssign for f64

source§

fn add_mul_assign(&mut self, y: f64, z: f64)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl AddMulAssign for i8

source§

fn add_mul_assign(&mut self, y: i8, z: i8)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl AddMulAssign for i16

source§

fn add_mul_assign(&mut self, y: i16, z: i16)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl AddMulAssign for i32

source§

fn add_mul_assign(&mut self, y: i32, z: i32)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl AddMulAssign for i64

source§

fn add_mul_assign(&mut self, y: i64, z: i64)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl AddMulAssign for i128

source§

fn add_mul_assign(&mut self, y: i128, z: i128)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl AddMulAssign for isize

source§

fn add_mul_assign(&mut self, y: isize, z: isize)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl AddMulAssign for u8

source§

fn add_mul_assign(&mut self, y: u8, z: u8)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl AddMulAssign for u16

source§

fn add_mul_assign(&mut self, y: u16, z: u16)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl AddMulAssign for u32

source§

fn add_mul_assign(&mut self, y: u32, z: u32)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl AddMulAssign for u64

source§

fn add_mul_assign(&mut self, y: u64, z: u64)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl AddMulAssign for u128

source§

fn add_mul_assign(&mut self, y: u128, z: u128)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl AddMulAssign for usize

source§

fn add_mul_assign(&mut self, y: usize, z: usize)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Implementors§