root / www / HPL_dlaprnt.html
Historique | Voir | Annoter | Télécharger (2,03 ko)
1 |
<HTML>
|
---|---|
2 |
<HEAD>
|
3 |
<TITLE>HPL_dlaprnt HPL 2.0 Library Functions September 10, 2008</TITLE> |
4 |
</HEAD>
|
5 |
|
6 |
<BODY BGCOLOR="WHITE" TEXT = "#000000" LINK = "#0000ff" VLINK = "#000099" |
7 |
ALINK = "#ffff00"> |
8 |
|
9 |
<H1>Name</H1> |
10 |
<B>HPL_dlaprnt</B> Print the matrix A. |
11 |
|
12 |
<H1>Synopsis</H1> |
13 |
<CODE>#include "hpl.h"</CODE><BR><BR> |
14 |
<CODE>void</CODE> |
15 |
<CODE>HPL_dlaprnt(</CODE> |
16 |
<CODE>const int</CODE> |
17 |
<CODE>M</CODE>, |
18 |
<CODE>const int</CODE> |
19 |
<CODE>N</CODE>, |
20 |
<CODE>double *</CODE> |
21 |
<CODE>A</CODE>, |
22 |
<CODE>const int</CODE> |
23 |
<CODE>IA</CODE>, |
24 |
<CODE>const int</CODE> |
25 |
<CODE>JA</CODE>, |
26 |
<CODE>const int</CODE> |
27 |
<CODE>LDA</CODE>, |
28 |
<CODE>const char *</CODE> |
29 |
<CODE>CMATNM</CODE> |
30 |
<CODE>);</CODE> |
31 |
|
32 |
<H1>Description</H1> |
33 |
<B>HPL_dlaprnt</B> |
34 |
prints to standard error an M-by-N matrix A. |
35 |
|
36 |
<H1>Arguments</H1> |
37 |
<PRE>
|
38 |
M (local input) const int |
39 |
On entry, M specifies the number of rows of A. M must be at |
40 |
least zero. |
41 |
</PRE>
|
42 |
<PRE>
|
43 |
N (local input) const int |
44 |
On entry, N specifies the number of columns of A. N must be |
45 |
at least zero. |
46 |
</PRE>
|
47 |
<PRE>
|
48 |
A (local input) double * |
49 |
On entry, A points to an array of dimension (LDA,N). |
50 |
</PRE>
|
51 |
<PRE>
|
52 |
IA (local input) const int |
53 |
On entry, IA specifies the starting row index to be printed. |
54 |
</PRE>
|
55 |
<PRE>
|
56 |
JA (local input) const int |
57 |
On entry, JA specifies the starting column index to be |
58 |
printed. |
59 |
</PRE>
|
60 |
<PRE>
|
61 |
LDA (local input) const int |
62 |
On entry, LDA specifies the leading dimension of the array A. |
63 |
LDA must be at least max(1,M). |
64 |
</PRE>
|
65 |
<PRE>
|
66 |
CMATNM (local input) const char * |
67 |
On entry, CMATNM is the name of the matrix to be printed. |
68 |
</PRE>
|
69 |
|
70 |
<H1>Example</H1> |
71 |
<CODE>#include "hpl.h"</CODE><BR><BR> |
72 |
<PRE>
|
73 |
int main(int argc, char *argv[]) |
74 |
{ |
75 |
double a[2*2]; |
76 |
a[0] = 1.0; a[1] = 3.0; a[2] = 2.0; a[3] = 4.0; |
77 |
HPL_dlaprnt( 2, 2, a, 0, 0, 2, "A" ); |
78 |
exit(0); return(0); |
79 |
} |
80 |
</PRE>
|
81 |
|
82 |
<H1>See Also</H1> |
83 |
<A HREF="HPL_fprintf.html">HPL_fprintf</A>. |
84 |
|
85 |
</BODY>
|
86 |
</HTML>
|