Back to LAPACK/BLAS
la.factorizations.qr
Compute the QR factorization of a general m×n matrix A.
Syntax
la.factorizations.qr(A, options?)
Description
Compute the QR factorization of a general m×n matrix A. A = Q * R where Q is orthogonal (m×m or m×k) and R is upper triangular (m×n or k×n), with k = min(m, n).
Parameters
| Name | Description |
|---|---|
| A | - Input matrix (m × n). Can be 2D array (row-major) or 1D array (column-major). |
| options(optional) | - Factorization options |
Returns
QRResult