1DLACPY(1) LAPACK auxiliary routine (version 3.2) DLACPY(1)
2
3
4
6 DLACPY - copies all or part of a two-dimensional matrix A to another
7 matrix B
8
10 SUBROUTINE DLACPY( UPLO, M, N, A, LDA, B, LDB )
11
12 CHARACTER UPLO
13
14 INTEGER LDA, LDB, M, N
15
16 DOUBLE PRECISION A( LDA, * ), B( LDB, * )
17
19 DLACPY copies all or part of a two-dimensional matrix A to another
20 matrix B.
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) DOUBLE PRECISION array, dimension (LDA,N)
36 The m by n matrix A. If UPLO = 'U', only the upper triangle or
37 trapezoid is accessed; if UPLO = 'L', only the lower triangle
38 or trapezoid is accessed.
39
40 LDA (input) INTEGER
41 The leading dimension of the array A. LDA >= max(1,M).
42
43 B (output) DOUBLE PRECISION 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.e2m)ber 2008 DLACPY(1)