Release v0.15.0.

This commit is contained in:
sebcrozet 2018-05-26 22:24:27 +02:00
parent 6a0186536a
commit c2d597e744
4 changed files with 9 additions and 22 deletions

View File

@ -4,22 +4,9 @@ documented here.
This project adheres to [Semantic Versioning](http://semver.org/). This project adheres to [Semantic Versioning](http://semver.org/).
## [0.15.0] - WIP ## [0.15.0]
The most notable change of this release is the support for using part of the library without the rust standard The most notable change of this release is the support for using part of the library without the rust standard
library (i.e. it supports `#![no_std]`). Use the following in your `Cargo.toml` to work with a version of library (i.e. it supports `#![no_std]`). See the corresponding [documentation](http://nalgebra.org/wasm_and_embedded_programming/).
nalgebra that does not rely on libstd:
```toml
#[dependencies]
nalgebra = { version = "0.15", default_features = false }
```
Some feature are no longer available when libstd is not used:
* Support for dynamically-sized matrices.
* Support for the `::new_random()` matrix constructor.
* Support for the `.resize(...)` method since it returns a dynamically-sized matrix.
* Entries of matrices displayed using `println!("{}", matrix)` will not be correctly aligned vertically.
* The computation of the orthogonormal subspace basis of a vector is limited to vector with dimension up
to 3 (we will attempt to lift this restriction in a future release).
All other feature, including matrix factorizations, will still work on statically-sized matrices!
### Modified ### Modified
* Rename the `core` module to `base` to avoid conflicts with the `core` crate implicitly imported when * Rename the `core` module to `base` to avoid conflicts with the `core` crate implicitly imported when
`#![no_std]` is enabled. `#![no_std]` is enabled.
@ -31,7 +18,7 @@ All other feature, including matrix factorizations, will still work on staticall
* Add methods `.rotation_between_axis(...)` and `.scaled_rotation_between_axis(...)` to `UnitComplex` * Add methods `.rotation_between_axis(...)` and `.scaled_rotation_between_axis(...)` to `UnitComplex`
to compute the rotation matrix between two 2D **unit** vectors. to compute the rotation matrix between two 2D **unit** vectors.
* Add methods `.axis_angle()` to `UnitComplex` and `UnitQuaternion` in order to retrieve both the * Add methods `.axis_angle()` to `UnitComplex` and `UnitQuaternion` in order to retrieve both the
unit rotation axis and the rotation angle simultaneously. unit rotation axis and the rotation angle simultaneously.
* Add functions to construct a random matrix with a user-defined distribution: `::from_distribution(...)`. * Add functions to construct a random matrix with a user-defined distribution: `::from_distribution(...)`.
## [0.14.0] ## [0.14.0]
@ -226,7 +213,7 @@ details. The following free-functions have been added as well:
* `::dimension::<P>` -> `::dimension::<P::Vector>` * `::dimension::<P>` -> `::dimension::<P::Vector>`
* `::angle_between` -> `::angle` * `::angle_between` -> `::angle`
Componentwise multiplication and division has been replaced by methods: Componentwise multiplication and division has been replaced by methods:
* multiplication -> `.componentwise_mul`, `.componentwise_mul_mut`. * multiplication -> `.componentwise_mul`, `.componentwise_mul_mut`.
* division -> `.componentwise_div`, `.componentwise_div_mut`. * division -> `.componentwise_div`, `.componentwise_div_mut`.

View File

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

View File

@ -1,6 +1,6 @@
[package] [package]
name = "nalgebra-lapack" name = "nalgebra-lapack"
version = "0.6.0" version = "0.7.0"
authors = [ "Sébastien Crozet <developer@crozet.re>", "Andrew Straw <strawman@astraw.com>" ] 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." description = "Linear algebra library with transformations and satically-sized or dynamically-sized matrices."
@ -22,7 +22,7 @@ accelerate = ["lapack-src/accelerate"]
intel-mkl = ["lapack-src/intel-mkl"] intel-mkl = ["lapack-src/intel-mkl"]
[dependencies] [dependencies]
nalgebra = { version = "0.14", path = ".." } nalgebra = { version = "0.15", path = ".." }
num-traits = "0.2" num-traits = "0.2"
num-complex = { version = "0.2", default-features = false } num-complex = { version = "0.2", default-features = false }
alga = { version = "0.6", default-features = false } alga = { version = "0.6", default-features = false }
@ -33,7 +33,7 @@ lapack-src = { version = "0.1", default-features = false }
# clippy = "*" # clippy = "*"
[dev-dependencies] [dev-dependencies]
nalgebra = { version = "0.14", path = "..", features = [ "arbitrary" ] } nalgebra = { version = "0.15", path = "..", features = [ "arbitrary" ] }
quickcheck = "0.4" quickcheck = "0.4"
approx = "0.2" approx = "0.2"
rand = "0.5" rand = "0.5"

View File

@ -15,7 +15,7 @@ Simply add the following to your `Cargo.toml` file:
```.ignore ```.ignore
[dependencies] [dependencies]
nalgebra = "0.13" nalgebra = "0.15"
``` ```