Statistiques
| Révision :

root / man / man3 / HPL_dlaprnt.3

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

1
.TH HPL_dlaprnt 3 "September 10, 2008" "HPL 2.0" "HPL Library Functions"
2
.SH NAME
3
HPL_dlaprnt \- Print the matrix A.
4
.SH SYNOPSIS
5
\fB\&#include "hpl.h"\fR
6
 
7
\fB\&void\fR
8
\fB\&HPL_dlaprnt(\fR
9
\fB\&const int\fR
10
\fI\&M\fR,
11
\fB\&const int\fR
12
\fI\&N\fR,
13
\fB\&double *\fR
14
\fI\&A\fR,
15
\fB\&const int\fR
16
\fI\&IA\fR,
17
\fB\&const int\fR
18
\fI\&JA\fR,
19
\fB\&const int\fR
20
\fI\&LDA\fR,
21
\fB\&const char *\fR
22
\fI\&CMATNM\fR
23
\fB\&);\fR
24
.SH DESCRIPTION
25
\fB\&HPL_dlaprnt\fR
26
prints to standard error an M-by-N matrix A.
27
.SH ARGUMENTS
28
.TP 8
29
M       (local input)           const int
30
On entry,  M  specifies the number of rows of A. M must be at
31
least zero.
32
.TP 8
33
N       (local input)           const int
34
On entry,  N  specifies the number of columns of A. N must be
35
at least zero.
36
.TP 8
37
A       (local input)           double *
38
On entry, A  points to an array of dimension (LDA,N).
39
.TP 8
40
IA      (local input)           const int
41
On entry, IA specifies the starting row index to be printed.
42
.TP 8
43
JA      (local input)           const int
44
On entry,  JA  specifies  the  starting  column index  to be
45
printed.
46
.TP 8
47
LDA     (local input)           const int
48
On entry, LDA specifies the leading dimension of the array A.
49
LDA must be at least max(1,M).
50
.TP 8
51
CMATNM  (local input)           const char *
52
On entry, CMATNM is the name of the matrix to be printed.
53
.SH EXAMPLE
54
\fI\&#include "hpl.h"\fR
55
 
56
int main(int argc, char *argv[])
57
.br
58
{
59
.br
60
   double a[2*2];
61
.br
62
   a[0] = 1.0; a[1] = 3.0; a[2] = 2.0; a[3] = 4.0;
63
.br
64
   HPL_dlaprnt( 2, 2, a, 0, 0, 2, "A" );
65
.br
66
   exit(0); return(0);
67
.br
68
}
69
.SH SEE ALSO
70
.BR HPL_fprintf \ (3).