/usr/share/doc/hpcc/www/HPL_dmatgen.html is in hpcc 1.5.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | <HTML>
<HEAD>
<TITLE>HPL_dmatgen HPL 2.0 Library Functions September 10, 2008</TITLE>
</HEAD>
<BODY BGCOLOR="WHITE" TEXT = "#000000" LINK = "#0000ff" VLINK = "#000099"
ALINK = "#ffff00">
<H1>Name</H1>
<B>HPL_dmatgen</B> random matrix generator.
<H1>Synopsis</H1>
<CODE>#include "hpl.h"</CODE><BR><BR>
<CODE>void</CODE>
<CODE>HPL_dmatgen(</CODE>
<CODE>const int</CODE>
<CODE>M</CODE>,
<CODE>const int</CODE>
<CODE>N</CODE>,
<CODE>double *</CODE>
<CODE>A</CODE>,
<CODE>const int</CODE>
<CODE>LDA</CODE>,
<CODE>const int</CODE>
<CODE>ISEED</CODE>
<CODE>);</CODE>
<H1>Description</H1>
<B>HPL_dmatgen</B>
generates (or regenerates) a random matrix A.
The pseudo-random generator uses the linear congruential algorithm:
X(n+1) = (a * X(n) + c) mod m as described in the Art of Computer
Programming, Knuth 1973, Vol. 2.
<H1>Arguments</H1>
<PRE>
M (input) const int
On entry, M specifies the number of rows of the matrix A.
M must be at least zero.
</PRE>
<PRE>
N (input) const int
On entry, N specifies the number of columns of the matrix A.
N must be at least zero.
</PRE>
<PRE>
A (output) double *
On entry, A points to an array of dimension (LDA,N). On exit,
this array contains the coefficients of the randomly
generated matrix.
</PRE>
<PRE>
LDA (input) const int
On entry, LDA specifies the leading dimension of the array A.
LDA must be at least max(1,M).
</PRE>
<PRE>
ISEED (input) const int
On entry, ISEED specifies the seed number to generate the
matrix A. ISEED must be at least zero.
</PRE>
<H1>See Also</H1>
<A HREF="HPL_ladd.html">HPL_ladd</A>,
<A HREF="HPL_lmul.html">HPL_lmul</A>,
<A HREF="HPL_setran.html">HPL_setran</A>,
<A HREF="HPL_xjumpm.html">HPL_xjumpm</A>,
<A HREF="HPL_jumpit.html">HPL_jumpit</A>,
<A HREF="HPL_rand.html">HPL_rand</A>.
</BODY>
</HTML>
|