root / man / man3 / HPL_jumpit.3 @ 1
Historique | Voir | Annoter | Télécharger (1,41 ko)
1 |
.TH HPL_jumpit 3 "September 10, 2008" "HPL 2.0" "HPL Library Functions" |
---|---|
2 |
.SH NAME |
3 |
HPL_jumpit \- jump into the random sequence. |
4 |
.SH SYNOPSIS |
5 |
\fB\&#include "hpl.h"\fR |
6 |
|
7 |
\fB\&void\fR |
8 |
\fB\&HPL_jumpit(\fR |
9 |
\fB\&int *\fR |
10 |
\fI\&MULT\fR, |
11 |
\fB\&int *\fR |
12 |
\fI\&IADD\fR, |
13 |
\fB\&int *\fR |
14 |
\fI\&IRANN\fR, |
15 |
\fB\&int *\fR |
16 |
\fI\&IRANM\fR |
17 |
\fB\&);\fR |
18 |
.SH DESCRIPTION |
19 |
\fB\&HPL_jumpit\fR |
20 |
jumps in the random sequence from the number X(n) encoded |
21 |
in IRANN to the number X(m) encoded in IRANM using the constants A |
22 |
and C encoded in MULT and IADD: X(m) = A * X(n) + C. The constants A |
23 |
and C obviously depend on m and n, see the function HPL_xjumpm in |
24 |
order to initialize them. |
25 |
.SH ARGUMENTS |
26 |
.TP 8 |
27 |
MULT (local input) int * |
28 |
On entry, MULT is an array of dimension 2, that contains the |
29 |
16-lower and 15-higher bits of the constant A. |
30 |
.TP 8 |
31 |
IADD (local input) int * |
32 |
On entry, IADD is an array of dimension 2, that contains the |
33 |
16-lower and 15-higher bits of the constant C. |
34 |
.TP 8 |
35 |
IRANN (local input) int * |
36 |
On entry, IRANN is an array of dimension 2, that contains |
37 |
the 16-lower and 15-higher bits of the encoding of X(n). |
38 |
.TP 8 |
39 |
IRANM (local output) int * |
40 |
On entry, IRANM is an array of dimension 2. On exit, this |
41 |
array contains respectively the 16-lower and 15-higher bits |
42 |
of the encoding of X(m). |
43 |
.SH SEE ALSO |
44 |
.BR HPL_ladd \ (3), |
45 |
.BR HPL_lmul \ (3), |
46 |
.BR HPL_setran \ (3), |
47 |
.BR HPL_xjumpm \ (3), |
48 |
.BR HPL_rand \ (3). |