Crates.io | lav |
lib.rs | lav |
version | 0.8.1 |
source | src |
created_at | 2021-11-19 19:40:17.746893 |
updated_at | 2024-04-30 21:44:06.681785 |
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 | 144,205 |
Lane-Associated Vector (LAV): Portable SIMD vector trait as GAT of SIMD lane trait.
NOTE: This crate requires nightly Rust.
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
.no_std
without loss of functionality by enabling the libm
feature.This 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.
With cargo tex
defined in .cargo/config.toml. Note that navigating the
documentation requires web access as KaTeX is embedded via remote CDN.
Copyright © 2021-2024 Rouven Spreckels rs@qu1x.dev
Licensed under the terms of the MPL-2.0
.
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.