tplqt2#

Functions

void stplqt2(
    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
);
void stplqt2(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)#

STPLQT2 computes a LQ 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

in
m

The total number of rows of the matrix B. m >= 0.

in
n

The number of columns of the matrix B, and the order of the triangular matrix A. n >= 0.

in
l

The number of rows of the lower trapezoidal part of B. min(m,n) >= l >= 0. See Further Details.

inout
A

Double precision array, dimension (lda,m). On entry, the lower triangular m-by-m matrix A. On exit, the elements on and below the diagonal contain the lower triangular matrix L.

in
lda

The leading dimension of A. lda >= max(1,m).

inout
B

Double precision array, dimension (ldb,n). On entry, the pentagonal m-by-n matrix B. The first n-l columns are rectangular, and the last l columns are lower trapezoidal. On exit, B contains the pentagonal matrix V.

in
ldb

The leading dimension of B. ldb >= max(1,m).

out
T

Double precision array, dimension (ldt,m). The n-by-n upper triangular factor T of the block reflector. See Further Details.

in
ldt

The leading dimension of T. ldt >= max(1,m).

out
info

  • = 0: successful exit.

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

Functions

void dtplqt2(
    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
);
void dtplqt2(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)#

DTPLQT2 computes a LQ 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

in
m

The total number of rows of the matrix B. m >= 0.

in
n

The number of columns of the matrix B, and the order of the triangular matrix A. n >= 0.

in
l

The number of rows of the lower trapezoidal part of B. min(m,n) >= l >= 0. See Further Details.

inout
A

Double precision array, dimension (lda,m). On entry, the lower triangular m-by-m matrix A. On exit, the elements on and below the diagonal contain the lower triangular matrix L.

in
lda

The leading dimension of A. lda >= max(1,m).

inout
B

Double precision array, dimension (ldb,n). On entry, the pentagonal m-by-n matrix B. The first n-l columns are rectangular, and the last l columns are lower trapezoidal. On exit, B contains the pentagonal matrix V.

in
ldb

The leading dimension of B. ldb >= max(1,m).

out
T

Double precision array, dimension (ldt,m). The n-by-n upper triangular factor T of the block reflector. See Further Details.

in
ldt

The leading dimension of T. ldt >= max(1,m).

out
info

  • = 0: successful exit.

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

Functions

void ctplqt2(
    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
);
void ctplqt2(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)#

CTPLQT2 computes a LQ 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

in
m

The total number of rows of the matrix B. m >= 0.

in
n

The number of columns of the matrix B, and the order of the triangular matrix A. n >= 0.

in
l

The number of rows of the lower trapezoidal part of B. min(m,n) >= l >= 0. See Further Details.

inout
A

Single complex array, dimension (lda,m). On entry, the lower triangular m-by-m matrix A. On exit, the elements on and below the diagonal contain the lower triangular matrix L.

in
lda

The leading dimension of A. lda >= max(1,m).

inout
B

Single complex array, dimension (ldb,n). On entry, the pentagonal m-by-n matrix B. The first n-l columns are rectangular, and the last l columns are lower trapezoidal. On exit, B contains the pentagonal matrix V.

in
ldb

The leading dimension of B. ldb >= max(1,m).

out
T

Single complex array, dimension (ldt,m). The n-by-n upper triangular factor T of the block reflector. See Further Details.

in
ldt

The leading dimension of T. ldt >= max(1,m).

out
info

  • = 0: successful exit.

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

Functions

void ztplqt2(
    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
);
void ztplqt2(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)#

ZTPLQT2 computes a LQ 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

in
m

The total number of rows of the matrix B. m >= 0.

in
n

The number of columns of the matrix B, and the order of the triangular matrix A. n >= 0.

in
l

The number of rows of the lower trapezoidal part of B. min(m,n) >= l >= 0. See Further Details.

inout
A

Double complex array, dimension (lda,m). On entry, the lower triangular m-by-m matrix A. On exit, the elements on and below the diagonal contain the lower triangular matrix L.

in
lda

The leading dimension of A. lda >= max(1,m).

inout
B

Double complex array, dimension (ldb,n). On entry, the pentagonal m-by-n matrix B. The first n-l columns are rectangular, and the last l columns are lower trapezoidal. On exit, B contains the pentagonal matrix V.

in
ldb

The leading dimension of B. ldb >= max(1,m).

out
T

Double complex array, dimension (ldt,m). The n-by-n upper triangular factor T of the block reflector. See Further Details.

in
ldt

The leading dimension of T. ldt >= max(1,m).

out
info

  • = 0: successful exit.

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