mtl5.sparse.qr#

mtl5.sparse.qr(A, ordering: str = 'colamd')#

Householder QR for sparse linear least squares.

Accepts a rectangular (tall) or square matrix; .solve(b) returns the least-squares solution of min ||A x - b||_2.

The returned object exposes .solve(b) and .refactor(A2).