Trait MulAddMul
Source pub trait MulAddMul<Y = Self, Z = Self, W = Self> {
type Output;
// Required method
fn mul_add_mul(self, y: Y, z: Z, w: W) -> Self::Output;
}
Expand description
Adds the products of two pairs of numbers.
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Adds the products of two pairs of numbers.
$f(x, y, z, w) = xy + zw$.
Both products and their sum wrap on overflow, as they do for
add_mul.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Adds the products of two pairs of numbers.
$f(x, y, z, w) = xy + zw$.
Both products and their sum wrap on overflow, as they do for
add_mul.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Adds the products of two pairs of numbers.
$f(x, y, z, w) = xy + zw$.
Both products and their sum wrap on overflow, as they do for
add_mul.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Adds the products of two pairs of numbers.
$f(x, y, z, w) = xy + zw$.
Both products and their sum wrap on overflow, as they do for
add_mul.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Adds the products of two pairs of numbers.
$f(x, y, z, w) = xy + zw$.
Both products and their sum wrap on overflow, as they do for
add_mul.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Adds the products of two pairs of numbers.
$f(x, y, z, w) = xy + zw$.
Both products and their sum wrap on overflow, as they do for
add_mul.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Adds the products of two pairs of numbers.
$f(x, y, z, w) = xy + zw$.
Both products and their sum wrap on overflow, as they do for
add_mul.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Adds the products of two pairs of numbers.
$f(x, y, z, w) = xy + zw$.
Both products and their sum wrap on overflow, as they do for
add_mul.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Adds the products of two pairs of numbers.
$f(x, y, z, w) = xy + zw$.
Both products and their sum wrap on overflow, as they do for
add_mul.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Adds the products of two pairs of numbers.
$f(x, y, z, w) = xy + zw$.
Both products and their sum wrap on overflow, as they do for
add_mul.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Adds the products of two pairs of numbers.
$f(x, y, z, w) = xy + zw$.
Both products and their sum wrap on overflow, as they do for
add_mul.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Adds the products of two pairs of numbers.
$f(x, y, z, w) = xy + zw$.
Both products and their sum wrap on overflow, as they do for
add_mul.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.