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

la.factorizations.lq

Compute the LQ factorization of a general m×n matrix A.

Syntax

la.factorizations.lq(A, options?)

Description

Compute the LQ factorization of a general m×n matrix A. A = L * Q where L is lower triangular (m×k) and Q is orthogonal (k×n), with k = min(m, n). Implementation note: This uses QR of A^T since DGELQF is not exported. A = L * Q implies A^T = Q^T * L^T, so we compute QR of A^T.

Parameters

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

Returns

LQResult