lrux documentation#
Fast low-rank update (LRU) of matrix determinants and pfaffians in JAX
Installation#
Requires Python 3.11+ and JAX 0.7.1+. fermix is installed automatically as a dependency.
pip install lrux
Low-rank update of determinants#
|
Low-rank update of determinant \(\det(A_1) = \det(A_0 + vu^T)\). |
|
Prepare the data and space for |
|
Merge the delayed updates in the carrier. |
|
Delayed low-rank update of determinant. |
Low-rank update of pfaffians#
|
Low-rank update of pfaffian \(\mathrm{pf}(A_1) = \mathrm{pf}(A_0 - u J u^T)\). |
|
Prepare the data and space for |
|
Merge the delayed updates in the carrier. |
|
Delayed low-rank update of pfaffian. |
Utilities#
The full determinants and pfaffians are computed by
fermix, which provides
det, slogdet, pf, and slogpf.
|
The skew-symmetric identity matrix \(J\). |