Files
marqdo/examples/linalg-least-squares
cflmyandCursor c0fbe9b182 feat(linalg): L6 lstsq, norms, complex dtype, draw themes
Add QR/SVD least squares, norm/cond/rank, complex dense Frobenius
baseline, and light/dark/bw draw themes aligned with quantum Q8.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 14:47:30 +08:00
..

linalg-least-squares

Overdetermined least squares via ext/linalg: factorize kind=qr, Qᵀb, solve R, plus a heatmap SVG of A.

cargo build --release -p marqdo_plugin_linalg
marqdo ext add linalg   # once (re-run after rebuilding the plugin)
marqdo run examples/linalg-least-squares/index.mq.md
# optional: marqdo view examples/linalg-least-squares/

Design: ext-linalg.md · sibling: linalg-svd.