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

Notebooks · lib/minpack/qrsolv

MINPACK's qrsolv, the damped least-squares system from a QR factorization

A port of qrsolv.f from netlib MINPACK (lib/minpack/ref). The explanation is in lib/minpack/qrsolv.intent. Indices count from 0: ipvt holds 0-based column numbers, as qrfac writes them. The Fortran names its rotation sin, cos, tan and cotan; here they are sn, cs, tn and ctn, because the first three are Viv builtins.

Used with import minpack.qrsolv.

Look inside this program

  • Atlas

    The program’s map: every function and which calls which.

  • There’s no recorded run of this program yet.

Shift+Enter in a cell runs it and moves to the next. Running a cell runs every cell above it too, as one program.

[1]lines 14–191