1ZLACPY(1) LAPACK auxiliary routine (version 3.1) ZLACPY(1)
2
3
4
6 ZLACPY - all or part of a two-dimensional matrix A to another matrix B
7
9 SUBROUTINE ZLACPY( UPLO, M, N, A, LDA, B, LDB )
10
11 CHARACTER UPLO
12
13 INTEGER LDA, LDB, M, N
14
15 COMPLEX*16 A( LDA, * ), B( LDB, * )
16
18 ZLACPY copies all or part of a two-dimensional matrix A to another
19 matrix B.
20
21
23 UPLO (input) CHARACTER*1
24 Specifies the part of the matrix A to be copied to B. = 'U':
25 Upper triangular part
26 = 'L': Lower triangular part
27 Otherwise: All of the matrix A
28
29 M (input) INTEGER
30 The number of rows of the matrix A. M >= 0.
31
32 N (input) INTEGER
33 The number of columns of the matrix A. N >= 0.
34
35 A (input) COMPLEX*16 array, dimension (LDA,N)
36 The m by n matrix A. If UPLO = 'U', only the upper trapezium
37 is accessed; if UPLO = 'L', only the lower trapezium is
38 accessed.
39
40 LDA (input) INTEGER
41 The leading dimension of the array A. LDA >= max(1,M).
42
43 B (output) COMPLEX*16 array, dimension (LDB,N)
44 On exit, B = A in the locations specified by UPLO.
45
46 LDB (input) INTEGER
47 The leading dimension of the array B. LDB >= max(1,M).
48
49
50
51 LAPACK auxiliary routine (versionNo3v.e1m)ber 2006 ZLACPY(1)