This site is version 0.0.1. Most of the code on this site is drafted by an agent and needs review. I apologize for the AI-speak, we are working on rewriting it!
viv-lang.org

Randomized linear algebra (vp.randla)

Low-rank factorizations and trace estimates of a matrix, computed from random sketches of it.

Each result is checked against NumPy, SciPy or scikit-learn.

Part of the distribution vipyr; it runs from a checkout of the repository. Planned on PyPI as pip install vipyr.

Functions

vp.randla.rp_cholesky
Randomly pivoted Cholesky: F with A ~ F F^T.
vp.randla.trace_hutchpp
Hutch++'s trace estimate from m products.

Examples in the gallery