simba
simba copied to clipboard
Set of mathematical traits to facilitate the use of SIMD-based AoSoA (Array of Struct of Array) storage pattern.
Packed simd stopped compiling a few days ago: https://github.com/rust-lang/packed_simd/issues/343. It should be replaced with portable simd: https://doc.rust-lang.org/std/simd/index.html
There are a couple of occasions where I regularly have to add an additional `num_traits::Float` bound. Methods I need from `num_traits::Float` include the following: - `min_positive_value` - `is_nan` - `nan`...
As per suggestion in [nalgebra#728](https://github.com/rustsim/nalgebra/pull/728#issuecomment-643745848).
When building any project which imports nalgebra with nightly and a sanitizer you get a HUGE amount of build errors. # Command I used to build - `export RUSTFLAGS=-Zsanitizer=address RUSTDOCFLAGS=-Zsanitizer=address`...
Currently there is a feature for the optional dependency `rand` in the simba crate. However, only the scalar types implement the traits from `rand`. I don't see a reason why...
is possible we can have associated const LANES for wide types? Or for example in SimdValue: ```rust trait SimdValue { const LANES: usize; } ``` This will be very useful...
There is currently no support for [core::num::Wrapping()](https://doc.rust-lang.org/stable/std/num/struct.Wrapping.html). If numbers overflow with #[cfg = debug_assertions], the program panics. It would be nice, if this library supports all of it's arithmetics for...
Fixes #54. This should help avoid surprises for users of crates like nalgebra when, for instance, casting `f32` matrices to `RealField` matrices. One concern that is likely to block a...
The following function compiles: ```rust fn my_convert(value: f64) -> T { T::from_subset(&value) } ``` However, the following function does not compile (replacing `f64` with `f32`): ```rust fn my_convert(value: f32) ->...