Developer Reference

  • 0.10
  • 10/21/2020
  • Public Content
Contents

?lacp2

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

Syntax

lapack_int
LAPACKE_clacp2
(
int
matrix_layout
,
char
uplo
,
lapack_int
m
,
lapack_int
n
,
const
float
*
a
,
lapack_int
lda
,
lapack_complex_float
*
b
,
lapack_int
ldb
);
lapack_int
LAPACKE_zlacp2
(
int
matrix_layout
,
char
uplo
,
lapack_int
m
,
lapack_int
n
,
const
double
*
a
,
lapack_int
lda
,
lapack_complex_double
*
b
,
lapack_int
ldb
);
Include Files
  • mkl.h
Description
The routine copies all or part of a real matrix
A
to another matrix
B
.
Input Parameters
matrix_layout
Specifies whether matrix storage layout is row major (
LAPACK_ROW_MAJOR
) or column major (
LAPACK_COL_MAJOR
).
uplo
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
The number of rows in the matrix
A
(
m
0
).
n
The number of columns in
A
(
n
0
).
a
Array, size at least
max
(1,
lda
*
n
)
for column major and max
(1,
lda
*
m
)
for row major
, 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
The leading dimension of
a
;
lda
max(1,
m
)
for column major and
lda
max(1,
n
)
for row major
.
ldb
The leading dimension of the output array
b
;
ldb
max(1,
m
)
for column major and
ldb
max(1,
n
)
for row major
.
Output Parameters
b
Array, size
at least max(1,
ldb
*
n
) for column major layout and max(1,
ldb
*
m
) for row major layout, contains the
m
-by-
n
matrix
B
.
On exit,
B
=
A
in the locations specified by
uplo
.
Return Values
This function returns a value
info
.
If
info
= 0
, the execution is successful.
If
info
< 0
, the
i
-th parameter had an illegal value.
If
info
= -1011
, memory allocation error occurred.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804