The .inverse_transform_unit_vector(v) was added to Rotation2/3, Isometry2/3, UnitQuaternion, and UnitComplex.
It applies the corresponding rotation to a unit vector Unit<Vector2/3>.
The Point.map(f) and Point.apply(f) to apply a function to each component of the point, similarly to Vector.map(f)
and Vector.apply(f).
The Quaternion::from([N; 4]) conversion to build a quaternion from an array of four elements.
The Isometry::from(Translation) conversion to build an isometry from a translation.
The Vector::ith_axis(i) which build a unit vector, e.g., Unit<Vector3<f32>> with its i-th component set to 1.0 and the
others set to zero.
The Isometry.lerp_slerp and Isometry.try_lerp_slerp methods to interpolate between two isometries using linear
interpolation for the translational part, and spherical interpolation for the rotational part.
The Rotation2.slerp, Rotation3.slerp, and UnitQuaternion.slerp method for
spherical interpolation.
[0.22.0]
In this release, we are using the new version 0.2 of simba. One major change of that version is that the
use of libm is now opt-in when building targetting no-std environment. If you are using floating-point
operations with nalgebra in a no-std environment, you will need to enable the new libm feature
of nalgebra for your code to compile again.
Added
The libm feature that enables libm when building for no-std environment.
The libm-force feature that enables libm even when building for a not no-std environment.
Cholesky::new_unchecked which build a Cholesky decomposition without checking that its input is
positive-definite. It can be use with SIMD types.
The Default trait is now implemented for matrices, and quaternions. They are all filled with zeros,
except for UnitQuaternion which is initialized with the identity.
Matrix exponential matrix.exp().
The Vector::ith(i, x) that builds a vector filled with zeros except for the i-th component set to x.
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps nalgebra from 0.21.0 to 0.23.0.
Changelog
Sourced from nalgebra's changelog.
Commits
1c8435c
Release v0.23.0224b562
Merge pull request #781 from filnet/clippy_fixesd990aff
clippy: fix clippy::eq_op error (false positive)74f01d2
clippy: fix suspicious_arithmetic_impl errors (false positives)8e483a5
Fix reshaping test.ce7d767
Merge branch 'neachdainn-reshape' into deve89a26c
Add doc-tests for reshape_generic.d7cb138
Fix warnings.7af509e
Reformat the reshaping example.5b3da9e
Fix typo in comment.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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)