Linear algebra library for Rust.
Go to file
Christopher Durham 49906a35be
Fix glm::is_null epsilon test (#1350)
The existing implementation compares each component to zero with
an epsilon; effectively `glm::all(glm::is_comp_null(v, epsilon))`.
This probably isn't the desired semantics when calling `glm::is_null`;
rather, we want to determine if the magnitude of the vector is within
`epsilon` units of zero. It's the question of circle versus square.

This behavior matches that of OpenGL Mathematics.
2024-06-23 11:09:52 +02:00
.github Remove CUDA support relying on abandoned toolchain 2024-01-11 23:09:17 -08:00
benches Use std::hint::black_box consistently. 2023-08-14 11:15:57 +07:00
examples feat: use GAT to remove the scalar type T from the Allocator trait (#1397) 2024-06-12 11:16:06 +02:00
nalgebra-glm Fix glm::is_null epsilon test (#1350) 2024-06-23 11:09:52 +02:00
nalgebra-lapack chore: update to simba 0.9 (#1415) 2024-06-22 19:06:20 +02:00
nalgebra-macros Update syn to 2.0 (#1342) 2024-06-22 18:43:32 +02:00
nalgebra-sparse chore: update to simba 0.9 (#1415) 2024-06-22 19:06:20 +02:00
src chore: update to simba 0.9 (#1415) 2024-06-22 19:06:20 +02:00
tests feat: use GAT to remove the scalar type T from the Allocator trait (#1397) 2024-06-12 11:16:06 +02:00
.gitignore .gitignore: add proptest-regressions to the ignored list. 2021-02-28 18:40:33 +01:00
Cargo.toml chore: update to simba 0.9 (#1415) 2024-06-22 19:06:20 +02:00
CHANGELOG.md Support conversion for glam 0.28 (#1409) 2024-06-22 18:49:46 +02:00
clippy.toml Fix some warnings 2021-07-27 19:24:55 -04:00
LICENSE Switch license to Apache v2.0 + update sponsor link. 2020-08-19 19:48:16 +02:00
README.md Release v0.32.3 2023-07-09 12:06:38 +02:00
rustfmt.toml Fix some warnings 2021-07-27 19:24:55 -04:00

crates.io

Build status crates.io

Users guide | Documentation | Forum


Linear algebra library for the Rust programming language.