pub trait MulScalarAdd<A = Self, B = Self> {
type Output;
// Required method
fn mul_add(self, a: A, b: B) -> Self::Output;
}Expand description
Fused multiply-add: self * a + b.
This mirrors num_traits::MulAdd but allows heterogeneous operand types, which is
needed for complex types where the scalar multiplier is real.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".