geql2#
Functions
-
void sgeql2(const INT m, const INT n, f32 *restrict A, const INT lda, f32 *restrict tau, f32 *restrict work, INT *info)#
SGEQL2 computes a QL factorization of a real m by n matrix A: A = Q * L.
The matrix Q is represented as a product of elementary reflectors Q = H(k) … H(2) H(1), where k = min(m, n).
Each H(i) has the form H(i) = I - tau * v * v**T where tau is a real scalar, and v is a real vector with v(m-k+i+1:m-1) = 0 and v(m-k+i) = 1; v(0:m-k+i-1) is stored on exit in A(0:m-k+i-1, n-k+i), and tau in TAU(i).
Parameters
inmThe number of rows of A. m >= 0.
innThe number of columns of A. n >= 0.
inoutAOn entry, the m-by-n matrix A. On exit, if m >= n, the lower triangle of the subarray A(m-n:m-1, 0:n-1) contains the n-by-n lower triangular matrix L; if m <= n, the elements on and below the (n-m)-th superdiagonal contain the m-by-n lower trapezoidal matrix L; the remaining elements, with TAU, represent Q as a product of elementary reflectors.
inldaThe leading dimension of A. lda >= max(1, m).
outtauArray of dimension min(m, n). The scalar factors of the elementary reflectors.
outworkWorkspace, dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void sgeql2(
const INT m,
const INT n,
f32* restrict A,
const INT lda,
f32* restrict tau,
f32* restrict work,
INT* info
);
Functions
-
void dgeql2(const INT m, const INT n, f64 *restrict A, const INT lda, f64 *restrict tau, f64 *restrict work, INT *info)#
DGEQL2 computes a QL factorization of a real m by n matrix A: A = Q * L.
The matrix Q is represented as a product of elementary reflectors Q = H(k) … H(2) H(1), where k = min(m, n).
Each H(i) has the form H(i) = I - tau * v * v**T where tau is a real scalar, and v is a real vector with v(m-k+i+1:m-1) = 0 and v(m-k+i) = 1; v(0:m-k+i-1) is stored on exit in A(0:m-k+i-1, n-k+i), and tau in TAU(i).
Parameters
inmThe number of rows of A. m >= 0.
innThe number of columns of A. n >= 0.
inoutAOn entry, the m-by-n matrix A. On exit, if m >= n, the lower triangle of the subarray A(m-n:m-1, 0:n-1) contains the n-by-n lower triangular matrix L; if m <= n, the elements on and below the (n-m)-th superdiagonal contain the m-by-n lower trapezoidal matrix L; the remaining elements, with TAU, represent Q as a product of elementary reflectors.
inldaThe leading dimension of A. lda >= max(1, m).
outtauArray of dimension min(m, n). The scalar factors of the elementary reflectors.
outworkWorkspace, dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void dgeql2(
const INT m,
const INT n,
f64* restrict A,
const INT lda,
f64* restrict tau,
f64* restrict work,
INT* info
);
Functions
-
void cgeql2(const INT m, const INT n, c64 *restrict A, const INT lda, c64 *restrict tau, c64 *restrict work, INT *info)#
CGEQL2 computes a QL factorization of a complex m by n matrix A: A = Q * L.
The matrix Q is represented as a product of elementary reflectors Q = H(k) … H(2) H(1), where k = min(m, n).
Each H(i) has the form H(i) = I - tau * v * v**H where tau is a complex scalar, and v is a complex vector with v(m-k+i+1:m-1) = 0 and v(m-k+i) = 1; v(0:m-k+i-1) is stored on exit in A(0:m-k+i-1, n-k+i), and tau in TAU(i).
Parameters
inmThe number of rows of A. m >= 0.
innThe number of columns of A. n >= 0.
inoutAOn entry, the m-by-n matrix A. On exit, if m >= n, the lower triangle of the subarray A(m-n:m-1, 0:n-1) contains the n-by-n lower triangular matrix L; if m <= n, the elements on and below the (n-m)-th superdiagonal contain the m-by-n lower trapezoidal matrix L; the remaining elements, with TAU, represent Q as a product of elementary reflectors.
inldaThe leading dimension of A. lda >= max(1, m).
outtauArray of dimension min(m, n). The scalar factors of the elementary reflectors.
outworkWorkspace, dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void cgeql2(
const INT m,
const INT n,
c64* restrict A,
const INT lda,
c64* restrict tau,
c64* restrict work,
INT* info
);
Functions
-
void zgeql2(const INT m, const INT n, c128 *restrict A, const INT lda, c128 *restrict tau, c128 *restrict work, INT *info)#
ZGEQL2 computes a QL factorization of a complex m by n matrix A: A = Q * L.
The matrix Q is represented as a product of elementary reflectors Q = H(k) … H(2) H(1), where k = min(m, n).
Each H(i) has the form H(i) = I - tau * v * v**H where tau is a complex scalar, and v is a complex vector with v(m-k+i+1:m-1) = 0 and v(m-k+i) = 1; v(0:m-k+i-1) is stored on exit in A(0:m-k+i-1, n-k+i), and tau in TAU(i).
Parameters
inmThe number of rows of A. m >= 0.
innThe number of columns of A. n >= 0.
inoutAOn entry, the m-by-n matrix A. On exit, if m >= n, the lower triangle of the subarray A(m-n:m-1, 0:n-1) contains the n-by-n lower triangular matrix L; if m <= n, the elements on and below the (n-m)-th superdiagonal contain the m-by-n lower trapezoidal matrix L; the remaining elements, with TAU, represent Q as a product of elementary reflectors.
inldaThe leading dimension of A. lda >= max(1, m).
outtauArray of dimension min(m, n). The scalar factors of the elementary reflectors.
outworkWorkspace, dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void zgeql2(
const INT m,
const INT n,
c128* restrict A,
const INT lda,
c128* restrict tau,
c128* restrict work,
INT* info
);