lacp2#

Functions

void clacp2(
    const char*          uplo,
    const INT            m,
    const INT            n,
    const f32*  restrict A,
    const INT            lda,
          c64*  restrict B,
    const INT            ldb
);
void clacp2(const char *uplo, const INT m, const INT n, const f32 *restrict A, const INT lda, c64 *restrict B, const INT ldb)#

CLACP2 copies all or part of a real two-dimensional matrix A to a complex matrix B.

Parameters

in
uplo

Specifies the part of the matrix A to be copied to B. = ‘U’: Upper triangular part = ‘L’: Lower triangular part Otherwise: All of the matrix A

in
m

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

in
n

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

in
A

Single precision array, dimension (lda, n). The m by n matrix A. If uplo = “U”, only the upper trapezium is accessed; if uplo = “L”, only the lower trapezium is accessed.

in
lda

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

out
B

Complex*16 array, dimension (ldb, n). On exit, B = A in the locations specified by uplo.

in
ldb

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

Functions

void zlacp2(
    const char*          uplo,
    const INT            m,
    const INT            n,
    const f64*  restrict A,
    const INT            lda,
          c128* restrict B,
    const INT            ldb
);
void zlacp2(const char *uplo, const INT m, const INT n, const f64 *restrict A, const INT lda, c128 *restrict B, const INT ldb)#

ZLACP2 copies all or part of a real two-dimensional matrix A to a complex matrix B.

Parameters

in
uplo

Specifies the part of the matrix A to be copied to B. = ‘U’: Upper triangular part = ‘L’: Lower triangular part Otherwise: All of the matrix A

in
m

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

in
n

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

in
A

Double precision array, dimension (lda, n). The m by n matrix A. If uplo = “U”, only the upper trapezium is accessed; if uplo = “L”, only the lower trapezium is accessed.

in
lda

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

out
B

Complex*16 array, dimension (ldb, n). On exit, B = A in the locations specified by uplo.

in
ldb

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