procyon-rs / vega_lite_4.rs

rust api for vega-lite v4
Apache License 2.0
27 stars 7 forks source link

⬆️ Update nalgebra requirement from 0.22.0 to 0.23.0 #5

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Updates the requirements on nalgebra to permit the latest version.

Changelog

Sourced from nalgebra's changelog.

[0.23.0] - WIP

Added

  • 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.

[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 crate which are both simpler, and allow for significant optimizations like AoSoA SIMD.

Refer to the monthly Rustsim blogpost 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
Commits
  • 1c8435c Release v0.23.0
  • 224b562 Merge pull request #781 from filnet/clippy_fixes
  • d990aff 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 dev
  • e89a26c Add doc-tests for reshape_generic.
  • d7cb138 Fix warnings.
  • 7af509e Reformat the reshaping example.
  • 5b3da9e Fix typo in comment.
  • Additional commits viewable in compare view


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 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 the `.dependabot/config.yml` file in this repo: - Update frequency - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)