1HPL_dlaprnt(3)               HPL Library Functions              HPL_dlaprnt(3)
2
3
4

NAME

6       HPL_dlaprnt - Print the matrix A.
7

SYNOPSIS

9       #include "hpl.h"
10
11       void  HPL_dlaprnt(  const int M, const int N, double * A, const int IA,
12       const int JA, const int LDA, const char * CMATNM );
13

DESCRIPTION

15       HPL_dlaprnt prints to standard error an M-by-N matrix A.
16

ARGUMENTS

18       M       (local input)           const int
19               On entry,  M  specifies the number of rows of A. M must  be  at
20               least zero.
21
22       N       (local input)           const int
23               On  entry,   N  specifies the number of columns of A. N must be
24               at least zero.
25
26       A       (local input)           double *
27               On entry, A  points to an array of dimension (LDA,N).
28
29       IA      (local input)           const int
30               On entry, IA specifies the starting row index to be printed.
31
32       JA      (local input)           const int
33               On entry,  JA  specifies  the  starting  column  index   to  be
34               printed.
35
36       LDA     (local input)           const int
37               On  entry,  LDA specifies the leading dimension of the array A.
38               LDA must be at least max(1,M).
39
40       CMATNM  (local input)           const char *
41               On entry, CMATNM is the name of the matrix to be printed.
42

EXAMPLE

44       #include "hpl.h"
45
46       int main(int argc, char *argv[])
47       {
48          double a[2*2];
49          a[0] = 1.0; a[1] = 3.0; a[2] = 2.0; a[3] = 4.0;
50          HPL_dlaprnt( 2, 2, a, 0, 0, 2, "A" );
51          exit(0); return(0);
52       }
53

SEE ALSO

55       HPL_fprintf (3).
56
57
58
59HPL 2.2                        February 24, 2016                HPL_dlaprnt(3)
Impressum