ormlq#
Functions
-
void sormlq(const char *side, const char *trans, const INT m, const INT n, const INT k, const f32 *restrict A, const INT lda, const f32 *restrict tau, f32 *restrict C, const INT ldc, f32 *restrict work, const INT lwork, INT *info)#
SORMLQ overwrites the general real M-by-N matrix C with.
TRANS = ‘N’: Q * C C * Q TRANS = ‘T’: Q^T * C C * Q^TSIDE = 'L' SIDE = 'R'
where Q is a real orthogonal matrix defined as the product of k elementary reflectors
Q = H(k-1) … H(1) H(0)
as returned by SGELQF. Q is of order M if SIDE = ‘L’ and of order N if SIDE = ‘R’.
This is the blocked Level 3 BLAS version of the algorithm.
Parameters
inside‘L’: apply Q or Q^T from the Left; ‘R’: apply Q or Q^T from the Right.
intrans‘N’: apply Q (No transpose); ‘T’: apply Q^T (Transpose).
inmThe number of rows of C. m >= 0.
innThe number of columns of C. n >= 0.
inkThe number of elementary reflectors. If SIDE = “L”, m >= k >= 0; if SIDE = “R”, n >= k >= 0.
inAThe i-th row must contain the vector which defines the elementary reflector H(i), as returned by SGELQF. Dimension (lda, m) if SIDE = “L”, (lda, n) if SIDE = ‘R’.
inldaLeading dimension of A. lda >= max(1, k).
intauArray of dimension (k). TAU(i) is the scalar factor of H(i), as returned by SGELQF.
inoutCOn entry, the m-by-n matrix C. On exit, C is overwritten by Q*C or Q^T*C or C*Q^T or C*Q.
inldcLeading dimension of C. ldc >= max(1, m).
outworkWorkspace, dimension (max(1, lwork)). On exit, work[0] contains the optimal lwork.
inlworkDimension of work. If SIDE = “L”, lwork >= max(1, n); if SIDE = “R”, lwork >= max(1, m). If lwork == -1, workspace query only.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void sormlq(
const char* side,
const char* trans,
const INT m,
const INT n,
const INT k,
const f32* restrict A,
const INT lda,
const f32* restrict tau,
f32* restrict C,
const INT ldc,
f32* restrict work,
const INT lwork,
INT* info
);
Functions
-
void dormlq(const char *side, const char *trans, const INT m, const INT n, const INT k, const f64 *restrict A, const INT lda, const f64 *restrict tau, f64 *restrict C, const INT ldc, f64 *restrict work, const INT lwork, INT *info)#
DORMLQ overwrites the general real M-by-N matrix C with.
TRANS = ‘N’: Q * C C * Q TRANS = ‘T’: Q^T * C C * Q^TSIDE = 'L' SIDE = 'R'
where Q is a real orthogonal matrix defined as the product of k elementary reflectors
Q = H(k-1) … H(1) H(0)
as returned by DGELQF. Q is of order M if SIDE = ‘L’ and of order N if SIDE = ‘R’.
This is the blocked Level 3 BLAS version of the algorithm.
Parameters
inside‘L’: apply Q or Q^T from the Left; ‘R’: apply Q or Q^T from the Right.
intrans‘N’: apply Q (No transpose); ‘T’: apply Q^T (Transpose).
inmThe number of rows of C. m >= 0.
innThe number of columns of C. n >= 0.
inkThe number of elementary reflectors. If SIDE = “L”, m >= k >= 0; if SIDE = “R”, n >= k >= 0.
inAThe i-th row must contain the vector which defines the elementary reflector H(i), as returned by DGELQF. Dimension (lda, m) if SIDE = “L”, (lda, n) if SIDE = ‘R’.
inldaLeading dimension of A. lda >= max(1, k).
intauArray of dimension (k). TAU(i) is the scalar factor of H(i), as returned by DGELQF.
inoutCOn entry, the m-by-n matrix C. On exit, C is overwritten by Q*C or Q^T*C or C*Q^T or C*Q.
inldcLeading dimension of C. ldc >= max(1, m).
outworkWorkspace, dimension (max(1, lwork)). On exit, work[0] contains the optimal lwork.
inlworkDimension of work. If SIDE = “L”, lwork >= max(1, n); if SIDE = “R”, lwork >= max(1, m). If lwork == -1, workspace query only.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void dormlq(
const char* side,
const char* trans,
const INT m,
const INT n,
const INT k,
const f64* restrict A,
const INT lda,
const f64* restrict tau,
f64* restrict C,
const INT ldc,
f64* restrict work,
const INT lwork,
INT* info
);