linalg::factor
The factorizations, each a type with solve / det / inv where
they make sense; build them with the functions at the package root
(linalg::lu(a), linalg::svd(a), ...).
Modules
choleskyCholesky (A = L L^H) and the square-root-free LDL^H, both row by row (left-looking: each entry is one inner product of rows already done), reading only the lower triangle.eigGeneral real eigenproblem: Householder reduction to upper Hessenberg form (orthes), then the Francis double-shift QR iteration to real Schur form (hqr2), as in EISPACK and JAMA.eighSymmetric eigenproblem: Householder reduction to tridiagonal form (tred2), then the implicit QL algorithm with Wilkinson-like shifts (tql2), as in EISPACK and JAMA.luLU with partial pivoting, blocked right-looking (LAPACK's xGETRF): a panel of NB columns is factored with row pivoting (largest |re| + |im| in the column), then the block row is solved and the trailing matrix updated by onegemm, where most of the flops go.qrHouseholder QR (LAPACK's xGEQRF / xGEQP3 conventions): step k turns column k below the diagonal into zeros with H_k = I - tau v v^H, v[k] = 1, keeping v below R.svdSVD of a real m x n matrix.