Release nalgebra v0.21.0

This commit is contained in:
sebcrozet 2020-04-05 22:46:34 +02:00
parent b81aed767f
commit 30186d9ceb
4 changed files with 27 additions and 5 deletions

View File

@ -4,6 +4,28 @@ documented here.
This project adheres to [Semantic Versioning](https://semver.org/).
## [0.21.0]
In this release, we are no longer relying on traits from the __alga__ crate for our generic code.
Instead, we use traits from the new [simba](https://crates.io/crates/simba) crate which are both
simpler, and allow for significant optimizations like AoSoA SIMD.
Refer to the [monthly Rustsim blogpost](https://www.rustsim.org/blog/2020/04/01/this-month-in-rustsim/)
for details about this switch and its benefits.
### Added
* It is now possible to use SIMD types like `simba::f32x4` as scalar types for nalgebra's matrices and
geometric types.
### Modified
* Use of traits like `alga::general::{RealField, ComplexField}` have now been replaced by
`simba::scalar::{RealField, ComplexField}`.
* The implementation of traits from the __alga__ crate (and well as the dependency to _alga__) are now
omitted unless the `alga` cargo feature is activated.
### Removed
* The `Neg` unary operator is no longer implemented for `UnitComplex` and `UnitQuaternion`. This caused
hard-to-track errors when we mistakenly write, e.g., `-q * v` instead of `-(q * v)`.
* The `na::convert_unchecked` is no longer marked as unsafe.
## [0.20.0]
### Added
* `cholesky.rank_one_update(...)` which performs a rank-one update on the cholesky decomposition of a matrix.

View File

@ -1,6 +1,6 @@
[package]
name = "nalgebra"
version = "0.20.0"
version = "0.21.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "Linear algebra library with transformations and statically-sized or dynamically-sized matrices."

View File

@ -1,6 +1,6 @@
[package]
name = "nalgebra-glm"
version = "0.6.0"
version = "0.7.0"
authors = ["sebcrozet <developer@crozet.re>"]
description = "A computer-graphics oriented API for nalgebra, inspired by the C++ GLM library."
@ -25,4 +25,4 @@ abomonation-serialize = [ "nalgebra/abomonation-serialize" ]
num-traits = { version = "0.2", default-features = false }
approx = { version = "0.3", default-features = false }
simba = { version = "0.1", default-features = false }
nalgebra = { path = "..", version = "0.20", default-features = false }
nalgebra = { path = "..", version = "0.21", default-features = false }

View File

@ -1,6 +1,6 @@
[package]
name = "nalgebra-lapack"
version = "0.12.0"
version = "0.13.0"
authors = [ "Sébastien Crozet <developer@crozet.re>", "Andrew Straw <strawman@astraw.com>" ]
description = "Linear algebra library with transformations and satically-sized or dynamically-sized matrices."
@ -34,7 +34,7 @@ lapack-src = { version = "0.5", default-features = false }
# clippy = "*"
[dev-dependencies]
nalgebra = { version = "0.20", path = "..", features = [ "arbitrary" ] }
nalgebra = { version = "0.21", path = "..", features = [ "arbitrary" ] }
quickcheck = "0.9"
approx = "0.3"
rand = "0.7"