Trait guff_matrix::simulator::Simd [−][src]
pub trait Simd { type E; type V; fn cross_product(a: Self, b: Self) -> Self; fn sum_across_n(m0: Self, m1: Self, n: usize, off: usize) -> (Self::E, Self); }
Expand description
Simulated SIMD engine type
A trait that can be used to simulate a SIMD engine. Can be
implemented for native vector type such as \[u8;8\]
Associated Types
Required methods
fn cross_product(a: Self, b: Self) -> Self
fn cross_product(a: Self, b: Self) -> Self
pairwise multiplication of vector elements