GELQT - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English
template<typename T>
void gelqt(integer *m, integer *n, integer *mb, T *a, integer *lda, T *t, integer *ldt, T *work, integer *info)#

GELQT computes a blocked LQ factorization of a real M-by-N matrix A using the compact WY representation of Q.

Purpose:

 GELQT computes a blocked LQ factorization of a real M-by-N matrix A
 using the compact WY representation of Q.
Parameters:
  • M[in]

    M is INTEGER

    The number of rows of the matrix A. M >= 0.

  • N[in]

    N is INTEGER

    The number of columns of the matrix A. N >= 0.

  • MB[in]

    MB is INTEGER

    The block size to be used in the blocked QR. MIN(M,N) >= MB >= 1.

  • A[inout]

    A is REAL array, dimension (LDA,N)

    On entry, the M-by-N matrix A.

    On exit, the elements on and below the diagonal of the array contain the M-by-MIN(M,N) lower trapezoidal matrix L (L is lower triangular if M <= N); the elements above the diagonal are the rows of V.
  • LDA[in]

    LDA is INTEGER

    The leading dimension of the array A. LDA >= fla_max(1,M).

  • T[out]

    T is REAL array, dimension (LDT,MIN(M,N))

    The upper triangular block reflectors stored in compact form as a sequence of upper triangular blocks. See below for further details.

  • LDT[in]

    LDT is INTEGER

    The leading dimension of the array T. LDT >= MB.

  • WORK[out] WORK is REAL array, dimension (MB*N)

  • INFO[out]

    INFO is INTEGER

    = 0: successful exit

    < 0: if INFO = -i, the i-th argument had an illegal value