Trait faster::vec_patterns::PackedPattern [] [src]

pub trait PackedPattern: Packed {
    fn halfs(hi: Self::Scalar, lo: Self::Scalar) -> Self;
fn interleave(hi: Self::Scalar, lo: Self::Scalar) -> Self;
fn partition(hi: Self::Scalar, lo: Self::Scalar, off: usize) -> Self;
fn partition_mask(off: usize) -> Self; }

Constructors which may be used to instantiate vectors with patterned data.

Required Methods

Return a vector whose first Self::WIDTH / 2 elements are hi, and whose last Self::WIDTH / 2 elements are lo.

Return a vector containing hi at every even index, and lo at every odd index.

Return a vector whose first off elements are hi, and whose last Self::WIDTH - off elements are lo.

Return a vector whose first off elements are memset to 0x00, and whose last Self::WIDTH - off elements are memset to 0xFF.

Implementors