Lane-Associated Vector (LAV): Portable SIMD vector trait as GAT of SIMD lane trait.
NOTE: This crate requires nightly Rust.
- SIMD lane trait
- SIMD vector trait
SimdReal<Real, LANES>abstracting over
- Generic associated type (GAT)
Real::Simd<LANES>as part of SIMD lane trait
Realimplementing SIMD vector trait
SimdReal<Self, LANES>for itself as lane type where the GAT is generic over the number of SIMD vector
- Lanewise approximate equality test wrt to epsilon and ULP SIMD vectors.
Intowhere the behavior may be unspecified but will not result in undefined behavior if the caller breaks any logical constraint.
Intowithout conflicting implementations.
PeelIntowhere the behavior may be unspecified but will not result in undefined behavior if the caller breaks any logical constraint.
Assertstructure asserting constant generic expression when bound by trait
no_stdwithout loss of functionality by enabling the
example uses SIMD generically over floating-point types while hiding it from the user.
See the release history to keep track of the development.
# Build and open documentation inclusive dependencies. cargo doc --open # Rebuild this crate's documentation with KaTeX. cargo tex # Refresh opened documentation.
cargo tex defined in .cargo/config. Note that navigating the documentation
requires web access as KaTeX is embedded via remote CDN.
Copyright © 2021-2022 Rouven Spreckels email@example.com
Licensed under the terms of the
The MPL allows the integration of MPL-licensed code into proprietary codebases, as long as the MPL-licensed components remain accessible under the terms of the MPL.
Unless you explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Covered Software by You shall be licensed as above, without any additional terms or conditions.