lamtsqr#

Functions

void slamtsqr(
    const char*          side,
    const char*          trans,
    const INT            m,
    const INT            n,
    const INT            k,
    const INT            mb,
    const INT            nb,
    const f32*  restrict A,
    const INT            lda,
    const f32*  restrict T,
    const INT            ldt,
          f32*  restrict C,
    const INT            ldc,
          f32*  restrict work,
    const INT            lwork,
          INT*           info
);
void slamtsqr(const char *side, const char *trans, const INT m, const INT n, const INT k, const INT mb, const INT nb, const f32 *restrict A, const INT lda, const f32 *restrict T, const INT ldt, f32 *restrict C, const INT ldc, f32 *restrict work, const INT lwork, INT *info)#

SLAMTSQR overwrites the general real M-by-N matrix C with.

         SIDE = 'L'     SIDE = 'R'
TRANS = ‘N’: Q * C C * Q TRANS = ‘T’: Q^T * C C * Q^T

where Q is a real orthogonal matrix defined as the product of blocked elementary reflectors computed by tall skinny QR factorization (SLATSQR)

Parameters

in
side

‘L’: apply Q or Q^T from the Left; ‘R’: apply Q or Q^T from the Right.

in
trans

‘N’: No transpose, apply Q; ‘T’: Transpose, apply Q^T.

in
m

The number of rows of the matrix C. m >= 0.

in
n

The number of columns of the matrix C. n >= 0.

in
k

The number of elementary reflectors. m >= k >= 0.

in
mb

The row block size used in the blocked QR. mb > n.

in
nb

The column block size. n >= nb >= 1.

in
A

Double precision array, dimension (lda, k). The blocked elementary reflectors as returned by SLATSQR.

in
lda

The leading dimension of A. If SIDE = ‘L’, lda >= max(1, m); if SIDE = ‘R’, lda >= max(1, n).

in
T

Double precision array containing the block reflectors.

in
ldt

The leading dimension of T. ldt >= nb.

inout
C

Double precision array, dimension (ldc, n). On entry, the M-by-N matrix C. On exit, C is overwritten by Q*C, Q^T*C, C*Q^T, or C*Q.

in
ldc

The leading dimension of C. ldc >= max(1, m).

out
work

Workspace array, dimension (max(1, lwork)).

in
lwork

The dimension of work. If SIDE = ‘L’, lwork >= max(1, n*nb). If SIDE = ‘R’, lwork >= max(1, mb*nb). If lwork = -1, workspace query is assumed.

out
info

  • = 0: successful exit

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

Functions

void dlamtsqr(
    const char*          side,
    const char*          trans,
    const INT            m,
    const INT            n,
    const INT            k,
    const INT            mb,
    const INT            nb,
    const f64*  restrict A,
    const INT            lda,
    const f64*  restrict T,
    const INT            ldt,
          f64*  restrict C,
    const INT            ldc,
          f64*  restrict work,
    const INT            lwork,
          INT*           info
);
void dlamtsqr(const char *side, const char *trans, const INT m, const INT n, const INT k, const INT mb, const INT nb, const f64 *restrict A, const INT lda, const f64 *restrict T, const INT ldt, f64 *restrict C, const INT ldc, f64 *restrict work, const INT lwork, INT *info)#

DLAMTSQR overwrites the general real M-by-N matrix C with.

         SIDE = 'L'     SIDE = 'R'
TRANS = ‘N’: Q * C C * Q TRANS = ‘T’: Q^T * C C * Q^T

where Q is a real orthogonal matrix defined as the product of blocked elementary reflectors computed by tall skinny QR factorization (DLATSQR)

Parameters

in
side

‘L’: apply Q or Q^T from the Left; ‘R’: apply Q or Q^T from the Right.

in
trans

‘N’: No transpose, apply Q; ‘T’: Transpose, apply Q^T.

in
m

The number of rows of the matrix C. m >= 0.

in
n

The number of columns of the matrix C. n >= 0.

in
k

The number of elementary reflectors. m >= k >= 0.

in
mb

The row block size used in the blocked QR. mb > n.

in
nb

The column block size. n >= nb >= 1.

in
A

Double precision array, dimension (lda, k). The blocked elementary reflectors as returned by DLATSQR.

in
lda

The leading dimension of A. If SIDE = ‘L’, lda >= max(1, m); if SIDE = ‘R’, lda >= max(1, n).

in
T

Double precision array containing the block reflectors.

in
ldt

The leading dimension of T. ldt >= nb.

inout
C

Double precision array, dimension (ldc, n). On entry, the M-by-N matrix C. On exit, C is overwritten by Q*C, Q^T*C, C*Q^T, or C*Q.

in
ldc

The leading dimension of C. ldc >= max(1, m).

out
work

Workspace array, dimension (max(1, lwork)).

in
lwork

The dimension of work. If SIDE = ‘L’, lwork >= max(1, n*nb). If SIDE = ‘R’, lwork >= max(1, mb*nb). If lwork = -1, workspace query is assumed.

out
info

  • = 0: successful exit

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

Functions

void clamtsqr(
    const char*          side,
    const char*          trans,
    const INT            m,
    const INT            n,
    const INT            k,
    const INT            mb,
    const INT            nb,
    const c64*  restrict A,
    const INT            lda,
    const c64*  restrict T,
    const INT            ldt,
          c64*  restrict C,
    const INT            ldc,
          c64*  restrict work,
    const INT            lwork,
          INT*           info
);
void clamtsqr(const char *side, const char *trans, const INT m, const INT n, const INT k, const INT mb, const INT nb, const c64 *restrict A, const INT lda, const c64 *restrict T, const INT ldt, c64 *restrict C, const INT ldc, c64 *restrict work, const INT lwork, INT *info)#

CLAMTSQR overwrites the general complex M-by-N matrix C with.

         SIDE = 'L'     SIDE = 'R'
TRANS = ‘N’: Q * C C * Q TRANS = ‘C’: Q^H * C C * Q^H

where Q is a complex unitary matrix defined as the product of blocked elementary reflectors computed by tall skinny QR factorization (CLATSQR)

Parameters

in
side

‘L’: apply Q or Q^H from the Left; ‘R’: apply Q or Q^H from the Right.

in
trans

‘N’: No transpose, apply Q; ‘C’: Conjugate Transpose, apply Q^H.

in
m

The number of rows of the matrix C. m >= 0.

in
n

The number of columns of the matrix C. n >= 0.

in
k

The number of elementary reflectors. m >= k >= 0.

in
mb

The row block size used in the blocked QR. mb > n.

in
nb

The column block size. n >= nb >= 1.

in
A

Complex*16 array, dimension (lda, k). The blocked elementary reflectors as returned by CLATSQR.

in
lda

The leading dimension of A. If SIDE = ‘L’, lda >= max(1, m); if SIDE = ‘R’, lda >= max(1, n).

in
T

Complex*16 array containing the block reflectors.

in
ldt

The leading dimension of T. ldt >= nb.

inout
C

Complex*16 array, dimension (ldc, n). On entry, the M-by-N matrix C. On exit, C is overwritten by Q*C, Q^H*C, C*Q^H, or C*Q.

in
ldc

The leading dimension of C. ldc >= max(1, m).

out
work

Workspace array, dimension (max(1, lwork)).

in
lwork

The dimension of work. If SIDE = ‘L’, lwork >= max(1, n*nb). If SIDE = ‘R’, lwork >= max(1, m*nb). If lwork = -1, workspace query is assumed.

out
info

  • = 0: successful exit

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

Functions

void zlamtsqr(
    const char*          side,
    const char*          trans,
    const INT            m,
    const INT            n,
    const INT            k,
    const INT            mb,
    const INT            nb,
    const c128* restrict A,
    const INT            lda,
    const c128* restrict T,
    const INT            ldt,
          c128* restrict C,
    const INT            ldc,
          c128* restrict work,
    const INT            lwork,
          INT*           info
);
void zlamtsqr(const char *side, const char *trans, const INT m, const INT n, const INT k, const INT mb, const INT nb, const c128 *restrict A, const INT lda, const c128 *restrict T, const INT ldt, c128 *restrict C, const INT ldc, c128 *restrict work, const INT lwork, INT *info)#

ZLAMTSQR overwrites the general complex M-by-N matrix C with.

         SIDE = 'L'     SIDE = 'R'
TRANS = ‘N’: Q * C C * Q TRANS = ‘C’: Q^H * C C * Q^H

where Q is a complex unitary matrix defined as the product of blocked elementary reflectors computed by tall skinny QR factorization (ZLATSQR)

Parameters

in
side

‘L’: apply Q or Q^H from the Left; ‘R’: apply Q or Q^H from the Right.

in
trans

‘N’: No transpose, apply Q; ‘C’: Conjugate Transpose, apply Q^H.

in
m

The number of rows of the matrix C. m >= 0.

in
n

The number of columns of the matrix C. n >= 0.

in
k

The number of elementary reflectors. m >= k >= 0.

in
mb

The row block size used in the blocked QR. mb > n.

in
nb

The column block size. n >= nb >= 1.

in
A

Complex*16 array, dimension (lda, k). The blocked elementary reflectors as returned by ZLATSQR.

in
lda

The leading dimension of A. If SIDE = ‘L’, lda >= max(1, m); if SIDE = ‘R’, lda >= max(1, n).

in
T

Complex*16 array containing the block reflectors.

in
ldt

The leading dimension of T. ldt >= nb.

inout
C

Complex*16 array, dimension (ldc, n). On entry, the M-by-N matrix C. On exit, C is overwritten by Q*C, Q^H*C, C*Q^H, or C*Q.

in
ldc

The leading dimension of C. ldc >= max(1, m).

out
work

Workspace array, dimension (max(1, lwork)).

in
lwork

The dimension of work. If SIDE = ‘L’, lwork >= max(1, n*nb). If SIDE = ‘R’, lwork >= max(1, m*nb). If lwork = -1, workspace query is assumed.

out
info

  • = 0: successful exit

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