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

Linear algebra (vp.linalg)

Dense linear algebra.

  • enorm, the Euclidean norm without overflow or underflow
  • schur, solve_care, solve_lyapunov and lqr, SciPy's names for the solvers of vp.control

The norm is checked against mpmath and SciPy, the solvers against SciPy and by the residuals of their equations.

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

Functions

vp.linalg.enorm
The Euclidean norm of x, with no overflow or underflow in the sum of squares (MINPACK enorm). An empty x has norm 0.
vp.linalg.lqr
Alias of vp.control.lqr .
vp.linalg.schur
Alias of vp.control.schur .
vp.linalg.solve_care
Alias of vp.control.care .
vp.linalg.solve_lyapunov
Alias of vp.control.lyapunov .