Statistiques
| Révision :

root / man / man3 / HPL_dlacpy.3 @ 1

Historique | Voir | Annoter | Télécharger (1,58 ko)

1
.TH HPL_dlacpy 3 "September 10, 2008" "HPL 2.0" "HPL Library Functions"
2
.SH NAME
3
HPL_dlacpy \- B := A.
4
.SH SYNOPSIS
5
\fB\&#include "hpl.h"\fR
6
 
7
\fB\&void\fR
8
\fB\&HPL_dlacpy(\fR
9
\fB\&const int\fR
10
\fI\&M\fR,
11
\fB\&const int\fR
12
\fI\&N\fR,
13
\fB\&const double *\fR
14
\fI\&A\fR,
15
\fB\&const int\fR
16
\fI\&LDA\fR,
17
\fB\&double *\fR
18
\fI\&B\fR,
19
\fB\&const int\fR
20
\fI\&LDB\fR
21
\fB\&);\fR
22
.SH DESCRIPTION
23
\fB\&HPL_dlacpy\fR
24
copies an array A into an array B.
25
.SH ARGUMENTS
26
.TP 8
27
M       (local input)           const int
28
On entry,  M specifies the number of rows of the arrays A and
29
B. M must be at least zero.
30
.TP 8
31
N       (local input)           const int
32
On entry,  N specifies  the number of columns of the arrays A
33
and B. N must be at least zero.
34
.TP 8
35
A       (local input)           const double *
36
On entry, A points to an array of dimension (LDA,N).
37
.TP 8
38
LDA     (local input)           const int
39
On entry, LDA specifies the leading dimension of the array A.
40
LDA must be at least MAX(1,M).
41
.TP 8
42
B       (local output)          double *
43
On entry, B points to an array of dimension (LDB,N). On exit,
44
B is overwritten with A.
45
.TP 8
46
LDB     (local input)           const int
47
On entry, LDB specifies the leading dimension of the array B.
48
LDB must be at least MAX(1,M).
49
.SH EXAMPLE
50
\fI\&#include "hpl.h"\fR
51
 
52
int main(int argc, char *argv[])
53
.br
54
{
55
.br
56
   double a[2*2], b[2*2];
57
.br
58
   a[0] = 1.0; a[1] = 3.0; a[2] = 2.0; a[3] = 4.0;
59
.br
60
   HPL_dlacpy( 2, 2, a, 2, b, 2 );
61
.br
62
   printf("  [%f,%f]\en", b[0], b[2]);
63
.br
64
   printf("b=[%f,%f]\en", b[1], b[3]);
65
.br
66
   exit(0);
67
.br
68
   return(0);
69
.br
70
}
71
.SH SEE ALSO
72
.BR HPL_dlatcpy \ (3).