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

elemental type, eg u8

vector type, eg [u8; 8]

Required methods

pairwise multiplication of vector elements

consume and sum products from m0, m1 vector buffers

Implementors