Docs/LAPACK/BLAS/la.factorizations.qrPivoted
Back to LAPACK/BLAS

la.factorizations.qrPivoted

Compute the QR factorization with column pivoting of a general m×n matrix A.

Syntax

la.factorizations.qrPivoted(A, options?)

Description

Compute the QR factorization with column pivoting of a general m×n matrix A. A * P = Q * R where P is a permutation matrix, Q is orthogonal, and R is upper triangular with diagonal elements of decreasing magnitude. This is useful for rank-revealing factorization: the numerical rank of A can be estimated from the diagonal of R.

Parameters

NameDescription
A- Input matrix (m × n). Can be 2D array (row-major) or 1D array (column-major).
options(optional)- Factorization options

Returns

QRPivotedResult