The Vector::simd_cap_magnitude method to cap the magnitude of the a vector with
SIMD components.
[0.25.2]
Added
A convert-glam cargo feature to enable implementations of From traits to convert
between glam types and nalgebra types.
A convert-glam-unchecked cargo feature to enable some extra glam/nalgebra conversions that may
lead to unexpected results if used improperly. For example, this enables the conversion from a
glam::Mat4 to a na::Isometry3. This conversion will be cheap (without any check) but willlead to
unexpected results if the glam matrix contains non-isometric components (like scaling for example).
A cast method has been added to most types. This can be used to change the
type of the components of a given entity. Example: vector.cast::<f32>().
[0.25.1]
This release replaces the version 0.25.0 which has been yanked. The 0.25.0 version
added significant complication to build nalgebra targeting a #[no-std] platform
not supported by rand.
The rand dependency is now optional (and disabled by default). You may enable it with:
The rand-no-std cargo feature when targeting a #[no-std] environment.
The rand cargo feature when targeting a std environment.
[0.25.0] - Yanked
This updates all the dependencies of nalgebra to their latest version, including:
rand 0.8
proptest 1.0
simba 0.4
New crate: nalgebra-sparse
Alongside this release of nalgebra, we are releasing nalgebra-sparse: a crate dedicated to sparse matrix
computation with nalgebra. The sparse module of nalgebraitself still exists for backward compatibility
but it will be deprecated soon in favor of the nalgebra-sparse crate.
Added
Add UnitDualQuaternion, a dual-quaternion with unit magnitude which can be used as an isometry transformation.
Add UDU::new() and matrix.udu() to compute the UDU factorization of a matrix.
Add ColPivQR::new() and matrix.col_piv_qr() to compute the QR decomposition with column pivoting of a matrix.
Add from_basis_unchecked to all the rotation types. This builds a rotation from a set of basis vectors (representing the columns of the corresponding rotation matrix).
Add Matrix::cap_magnitude to cap the magnitude of a vector.
Add UnitQuaternion::append_axisangle_linearized to approximately append a rotation represented as an axis-angle to a rotation represented as an unit quaternion.
Mark the iterators on matrix components as DoubleEndedIter.
Re-export simba::simd::SimdValue at the root of the nalgebra crate.
[0.24.0]
Added
The DualQuaternion type. It is still work-in-progress but the basics are here:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on nalgebra to permit the latest version.
Changelog
Sourced from nalgebra's changelog.
... (truncated)
Commits
59bcdc2
Release v0.25.31d7a561
Update the changelog.b687c63
Add a SIMD version of cap_magnitude: simd_cap_magnitude.9ce8402
Release v0.25.248248ae
Merge pull request #845 from dimforge/glam35ffdc9
Update the changelog.2dae1ca
Add conversion of Similarity from/to glam types.bdf0de6
Add conversion of Rotation and UnitComplex from/to glam types.729a8fd
Add conversion from/to glam types + move glam/alga/mint impls to a "third_par...a798d1c
Merge pull request #844 from dimforge/castDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)