Statistiques
| Révision :

root / man / man3 / HPL_jumpit.3 @ 1

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

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