Skip to content

Lineax v0.0.4

Choose a tag to compare

@github-actions github-actions released this 19 Dec 16:55
· 106 commits to main since this release

We now have a paper on arXiv!

Features

  • Experimental support for complex numbers. (Thanks @Randl!) These probably aren't 100% bug-free yet, but most of the work has now been done. Please report any issues!
    • Added lineax.conj which computes the conjugate of an operator. (E.g. for a matrix A, it returns A-bar.)
    • Added lineax.AbstractLinearSolver.conj, which conjugates the result of lineax.AbstractLinearSolver.init.
    • Both of the above should be implemented when adding a new operator a new solver respectively.

Bugfixes

  • Fixed PyTreeLinearOperator.as_matrix returning the wrong output if the pytree was of zero size.
  • Added lineax.internal.{max_norm, rms_norm, two_norm, sum_squares, tree_dot, default_floating_dtype}. (Being in the internal namespace means that these are undocumented/experimental, and may move somewhere else in the future.)

Internal changes

Now using ruff-format!

New Contributors

  • @Randl made their first contribution in #59

Full Changelog: v0.0.3...v0.0.4