Uses new Rust 2021
|0.4.2||May 2, 2022|
|0.4.1||May 2, 2022|
|0.4.0||May 27, 2021|
|0.3.1||May 27, 2021|
|0.0.0||Mar 4, 2020|
#166 in Math
163 downloads per month
An n-dimensional linear algebra and mathematics library for computer graphics and other applications, designed to be roughly compatible with cgmath.
The library provides:
Vector<T, const N: usize>
Point<T, const N: usize>
Matrix<T, const N: usize, const M: usize>
- a quaternion type:
- orthonormal (rotation) matrices:
al-jabr supports Vectors and Matrices of any size and will provide
implementations for any mathematic operations that are supported by their
al-jabr can leverage Rust's type system to ensure that
operations are only applied to values that are the correct size.
do this while remaining no-std compatible.
For more information and a guide on getting started, check out the documentation.
mintfeature (off by default) adds a dependency to the mint crate and provides support for converting between al-jabr types and mint types.
serdefeature (off by default) adds serialization/deserialization support from the serde crate.
randfeature (off by default) allows you to create random points, vectors, and matrices by sampling from a random number source.
swizzlefeature (off by default) enables swizzle functions for vectors.
Pull request of any nature are welcome.
Contact the author at
firstname.lastname@example.org or file an issue on github.