Skip to content

Upgrading nalgebra 0.12 to 0.13

Breaking0.12.3 → 0.13.1Breaking2Deprecated2New55Changed1

BreakingUpgrade verdict

2 breaking changes.

  • Code using the Axpy trait must switch to the .axpy method.
  • The meaning of the step value when slicing changed. It now counts skipped rows or columns, so old step values must be reduced by one.
  • Use MatrixMN instead of MatrixNM; the old name still works but is deprecated.
  • Use the new assign-style names for in-place componentwise multiplication and division.
4 items need code or config changes

Adds abomonation ^0.4, matrixmultiply ^0.1, mint ^0.4.2.

Installs 49 packages in all (was 43).

Breaking2
The trait Axpy is replaced by a method .axpy.
Axpy.axpy
Slicing with steps now matches the documentation: step counts ignored rows/columns, so a previous step of 3 becomes 2.
Deprecated2
The alias MatrixNM is deprecated in favor of MatrixMN.
MatrixNMMatrixMN
In-place .component_mul_mut(...) and .component_div_mut(...) are deprecated for a future renaming.
.component_mul_mut(...).component_div_mut(...).component_mul_assign(...).component_div_assign(...)