tpqrt2#
Functions
-
void stpqrt2(const INT m, const INT n, const INT l, f32 *restrict A, const INT lda, f32 *restrict B, const INT ldb, f32 *restrict T, const INT ldt, INT *info)#
STPQRT2 computes a QR factorization of a real “triangular-pentagonal” matrix C, which is composed of a triangular block A and pentagonal block B, using the compact WY representation for Q.
Parameters
inmThe total number of rows of the matrix B. m >= 0.
innThe number of columns of the matrix B, and the order of the triangular matrix A. n >= 0.
inlThe number of rows of the upper trapezoidal part of B. min(m,n) >= l >= 0. See Further Details.
inoutADouble precision array, dimension (lda,n). On entry, the upper triangular n-by-n matrix A. On exit, the elements on and above the diagonal contain the upper triangular matrix R.
inldaThe leading dimension of A. lda >= max(1,n).
inoutBDouble precision array, dimension (ldb,n). On entry, the pentagonal m-by-n matrix B. The first m-l rows are rectangular, and the last l rows are upper trapezoidal. On exit, B contains the pentagonal matrix V.
inldbThe leading dimension of B. ldb >= max(1,m).
outTDouble precision array, dimension (ldt,n). The n-by-n upper triangular factor T of the block reflector. See Further Details.
inldtThe leading dimension of T. ldt >= max(1,n).
outinfo= 0: successful exit.
< 0: if info = -i, the i-th argument had an illegal value.
void stpqrt2(
const INT m,
const INT n,
const INT l,
f32* restrict A,
const INT lda,
f32* restrict B,
const INT ldb,
f32* restrict T,
const INT ldt,
INT* info
);
Functions
-
void dtpqrt2(const INT m, const INT n, const INT l, f64 *restrict A, const INT lda, f64 *restrict B, const INT ldb, f64 *restrict T, const INT ldt, INT *info)#
DTPQRT2 computes a QR factorization of a real “triangular-pentagonal” matrix C, which is composed of a triangular block A and pentagonal block B, using the compact WY representation for Q.
Parameters
inmThe total number of rows of the matrix B. m >= 0.
innThe number of columns of the matrix B, and the order of the triangular matrix A. n >= 0.
inlThe number of rows of the upper trapezoidal part of B. min(m,n) >= l >= 0. See Further Details.
inoutADouble precision array, dimension (lda,n). On entry, the upper triangular n-by-n matrix A. On exit, the elements on and above the diagonal contain the upper triangular matrix R.
inldaThe leading dimension of A. lda >= max(1,n).
inoutBDouble precision array, dimension (ldb,n). On entry, the pentagonal m-by-n matrix B. The first m-l rows are rectangular, and the last l rows are upper trapezoidal. On exit, B contains the pentagonal matrix V.
inldbThe leading dimension of B. ldb >= max(1,m).
outTDouble precision array, dimension (ldt,n). The n-by-n upper triangular factor T of the block reflector. See Further Details.
inldtThe leading dimension of T. ldt >= max(1,n).
outinfo= 0: successful exit.
< 0: if info = -i, the i-th argument had an illegal value.
void dtpqrt2(
const INT m,
const INT n,
const INT l,
f64* restrict A,
const INT lda,
f64* restrict B,
const INT ldb,
f64* restrict T,
const INT ldt,
INT* info
);
Functions
-
void ctpqrt2(const INT m, const INT n, const INT l, c64 *restrict A, const INT lda, c64 *restrict B, const INT ldb, c64 *restrict T, const INT ldt, INT *info)#
CTPQRT2 computes a QR factorization of a complex “triangular-pentagonal” matrix C, which is composed of a triangular block A and pentagonal block B, using the compact WY representation for Q.
Parameters
inmThe total number of rows of the matrix B. m >= 0.
innThe number of columns of the matrix B, and the order of the triangular matrix A. n >= 0.
inlThe number of rows of the upper trapezoidal part of B. min(m,n) >= l >= 0. See Further Details.
inoutASingle complex array, dimension (lda,n). On entry, the upper triangular n-by-n matrix A. On exit, the elements on and above the diagonal contain the upper triangular matrix R.
inldaThe leading dimension of A. lda >= max(1,n).
inoutBSingle complex array, dimension (ldb,n). On entry, the pentagonal m-by-n matrix B. The first m-l rows are rectangular, and the last l rows are upper trapezoidal. On exit, B contains the pentagonal matrix V.
inldbThe leading dimension of B. ldb >= max(1,m).
outTSingle complex array, dimension (ldt,n). The n-by-n upper triangular factor T of the block reflector. See Further Details.
inldtThe leading dimension of T. ldt >= max(1,n).
outinfo= 0: successful exit.
< 0: if info = -i, the i-th argument had an illegal value.
void ctpqrt2(
const INT m,
const INT n,
const INT l,
c64* restrict A,
const INT lda,
c64* restrict B,
const INT ldb,
c64* restrict T,
const INT ldt,
INT* info
);
Functions
-
void ztpqrt2(const INT m, const INT n, const INT l, c128 *restrict A, const INT lda, c128 *restrict B, const INT ldb, c128 *restrict T, const INT ldt, INT *info)#
ZTPQRT2 computes a QR factorization of a complex “triangular-pentagonal” matrix C, which is composed of a triangular block A and pentagonal block B, using the compact WY representation for Q.
Parameters
inmThe total number of rows of the matrix B. m >= 0.
innThe number of columns of the matrix B, and the order of the triangular matrix A. n >= 0.
inlThe number of rows of the upper trapezoidal part of B. min(m,n) >= l >= 0. See Further Details.
inoutADouble complex array, dimension (lda,n). On entry, the upper triangular n-by-n matrix A. On exit, the elements on and above the diagonal contain the upper triangular matrix R.
inldaThe leading dimension of A. lda >= max(1,n).
inoutBDouble complex array, dimension (ldb,n). On entry, the pentagonal m-by-n matrix B. The first m-l rows are rectangular, and the last l rows are upper trapezoidal. On exit, B contains the pentagonal matrix V.
inldbThe leading dimension of B. ldb >= max(1,m).
outTDouble complex array, dimension (ldt,n). The n-by-n upper triangular factor T of the block reflector. See Further Details.
inldtThe leading dimension of T. ldt >= max(1,n).
outinfo= 0: successful exit.
< 0: if info = -i, the i-th argument had an illegal value.
void ztpqrt2(
const INT m,
const INT n,
const INT l,
c128* restrict A,
const INT lda,
c128* restrict B,
const INT ldb,
c128* restrict T,
const INT ldt,
INT* info
);