Linear algebra library for Rust.
Go to file
CAD97 314b4dd103 Remove scalar bound from geometry type defs
This was inconsistently applied, with some types having <T>, some having
<T: Scalar>, and some having <T: RealField>.
This unifies all types to match the convention of Matrix:
Just declare <T> at type def time, and apply bounds on impls only.

A significant advantage of this approach is const fn construction. Const
fn generics currently still can't have trait bounds, so any generic
const fn needs to only move opaque types around. Construction methods
such as new_unchecked or from_parts can be made const by removing their
generic bounds after this PR.

Actual constification is left to a follow-up PR.

Note that na::Transform is _not_ loosened here, as it has more complicated
definition requirements.
2021-07-05 19:04:10 -05:00
.github Test nalgebra-macros on CI 2021-05-03 13:52:34 +02:00
benches Use correct feature and remove unused import 2021-04-29 20:57:27 -03:00
examples Release v0.27.0 2021-06-02 15:15:17 +02:00
nalgebra-glm Release v0.27.0 2021-06-02 15:15:17 +02:00
nalgebra-lapack Simplify default `#[must_use]` annotation 2021-06-07 16:34:03 +02:00
nalgebra-macros Release v0.27.0 2021-06-02 15:15:17 +02:00
nalgebra-sparse COO: add push_matrix fn 2021-06-08 10:05:50 -04:00
src Remove scalar bound from geometry type defs 2021-07-05 19:04:10 -05:00
tests Fix most clippy warnings 2021-06-18 09:45:37 +02:00
.gitignore .gitignore: add proptest-regressions to the ignored list. 2021-02-28 18:40:33 +01:00
CHANGELOG.md Release v0.27.1 2021-06-04 11:08:54 +02:00
Cargo.toml Release v0.27.1 2021-06-04 11:08:54 +02:00
LICENSE Switch license to Apache v2.0 + update sponsor link. 2020-08-19 19:48:16 +02:00
Makefile Add compare feature to tests run by Makefile 2020-06-29 19:07:44 +02:00
README.md Fix compilation after rebase. 2021-04-11 13:53:45 +02:00
rustfmt.toml Add empty rustfmt.toml. 2020-06-23 09:49:01 -07:00

README.md

crates.io

Build status crates.io

Users guide | Documentation | Forum


Linear algebra library for the Rust programming language.


Platinum sponsors

Rapier is supported by: