Skip to content

faier v0.25.0

Choose a tag to compare

@rjwalters rjwalters released this 07 Oct 23:46
· 22 commits to main since this release
3222f12

First crates.io release of faier, based on upstream faer-v0.24.4. It is a
minor ahead of upstream because it contains breaking API changes (below); no
0.24.x version of faier exists. Code written against faer 0.24 needs only
the two sparse-factorization changes listed under "Changed".

Added

  • Sparse LU: LuColOrdering::{Colamd, Identity, Custom} selects the fill-reducing column ordering for factorize_symbolic_lu, so a caller-supplied ordering (e.g. nested dissection or AMD) can replace the built-in COLAMD (Colamd remains the default). Custom takes the elimination order in new-to-old orientation.

Changed

  • Breaking: factorize_symbolic_lu takes a LuColOrdering argument (pass LuColOrdering::Colamd for the previous behaviour), and qr::column_counts_ata takes the matrix A (SymbolicSparseRowMatRef) instead of its transpose.

Fixed

  • QZ (generalized eigendecomposition): aggressive early deflation index overflow, blocked generalized Hessenberg without Z, make_givens scaling for subnormal and extreme inputs, fail-fast on non-finite iterates anywhere in the active block (GevdError::NoConvergence), real double-shift bulge-chase accuracy, blocked deflation-window spin, an out-of-bounds panic on non-finite input to the real unblocked QZ, and maxit exhaustion on finite data now reported as NoConvergence instead of returning alpha = beta = 0 (undefined 0 / 0 eigenvalues).
  • Tridiagonal divide and conquer: relative deflation tolerance for small-norm matrices.
  • gevd_scratch for n = 2 with eigenvectors, and the eigenvalues-only real QZ now writes both slots of a conjugate pair (cherry-picked upstream fix.gevd-313).

See the 0.25.0 rows in FORK.md for details and regression tests.

Crate: https://crates.io/crates/faier/0.25.0 · Fork changes and regression tests: FORK.md