?lacp2

Copies all or part of a real two-dimensional array to a complex array.

Syntax

call clacp2( uplo, m, n, a, lda, b, ldb )

call zlacp2( uplo, m, n, a, lda, b, ldb )

Include Files

The FORTRAN 77 interfaces are specified in the mkl_lapack.fi include file and in the mkl_lapack.h include file.

Description

The routine copies all or part of a two-dimensional matrix A to another matrix B.

Input Parameters

uplo

CHARACTER*1.

Specifies the part of the matrix A to be copied to B.

If uplo = 'U', the upper triangular part of A;

if uplo = 'L', the lower triangular part of A.

Otherwise, all of the matrix A is copied.

m

INTEGER. The number of rows in the matrix A (m 0).

n

INTEGER. The number of columns in A (n 0).

a

REAL for clacp2

DOUBLE PRECISION for zlacp2

Array a(lda,n), contains the m-by-n matrix A.

If uplo = 'U', only the upper triangle or trapezoid is accessed; if uplo = 'L', only the lower triangle or trapezoid is accessed.

lda

INTEGER. The leading dimension of a; lda max(1, m).

ldb

INTEGER. The leading dimension of the output array b; ldb max(1, m).

Output Parameters

b

COMPLEX for clacp2

DOUBLE COMPLEX for zlacp2.

Array b(ldb,m), contains the m-by-n matrix B.

On exit, B = A in the locations specified by uplo.


Submit feedback on this help topic

Copyright © 1994 - 2011, Intel Corporation. All rights reserved.