Crate lav[−][src]
Expand description
Lane-Associated Vector (LAV): Portable SIMD vector trait as GAT of SIMD lane trait.
NOTE: This crate requires nightly Rust.
Features
- SIMD lane trait
Realabstracting overf32andf64. - SIMD vector trait
SimdReal<Real, LANES>abstracting overSimd<f32, LANES>andSimd<f64, LANES>. - Generic associated type (GAT)
Real::Simd<LANES>as part of SIMD lane traitRealimplementing SIMD vector traitSimdReal<Self, LANES>for itself as lane type where the GAT is generic over the number of SIMD vectorLANES. - Lanewise approximate equality test wrt to epsilon and ULP SIMD vectors.
no_stdwithout loss of functionality by enabling thelibmfeature.
This example uses SIMD generically over floating-point types while hiding it from the user.
Modules
Macros
Constructs vector by selecting values from the lanes of one or two source vectors.
Enums
WhichExperimental
An index into one of two vectors.
Traits
Mask vector of Mask<i32, LANES> or Mask<i64, LANES>.
Real number vector of Simd<f32, LANES> or Simd<f64, LANES> with associated SimdBits
and SimdMask vector.
