Trait simdop::MAdd
[−]
[src]
pub trait MAdd<M: Multi + Widen> { fn madd(&self, a: M, b: M) -> M; }
The MAdd
trait is used to specify multiply-add functionality.
Required Methods
fn madd(&self, a: M, b: M) -> M
Multiplies elements from a
and b
, producing intermediate elements of twice the size. Horizontally adds adjacent pairs of intermediate elements.