| Crates.io | lav |
| lib.rs | lav |
| version | 0.8.3 |
| created_at | 2021-11-19 19:40:17.746893+00 |
| updated_at | 2025-12-06 09:08:13.630303+00 |
| description | Lane-Associated Vector (LAV): Portable SIMD vector trait as GAT of SIMD lane trait. |
| homepage | |
| repository | https://github.com/qu1x/lav |
| max_upload_size | |
| id | 484594 |
| size | 130,976 |
Lane-Associated Vector (LAV): Portable SIMD vector trait as GAT of SIMD lane trait.
NOTE: This crate requires nightly Rust.
This example uses SIMD generically over floating-point types while hiding it from the user.
Real abstracting over f32 and f64.SimdReal<Real, N> abstracting over Simd<f32, N> and Simd<f64, N>.Real::Simd<N> as part of SIMD lane trait Real
implementing SIMD vector trait SimdReal<Self, N> for itself as lane type where the
GAT is generic over the number of SIMD vector lanes N.Real::as_simd/Real::as_simd_mut abstracting over
as_simd/as_simd_mut of f32 and f64 slices.ApproxEq trait complementing PartialEq.Following features are disabled by default unless their feature gate is enabled:
target-features: Provides native number of SIMD vector lanes
Real::NATIVE_LANE_COUNT for the current build target.libm: Enables no_std without loss of functionality.Build the documentation with cargo-tex. Note that navigating the documentation requires web access as KaTeX is embedded via remote CDN.
cargo tex --open
Copyright © 2021-2025 Rouven Spreckels rs@qu1x.dev
Licensed under the terms of the MPL-2.0.
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.