![]() |
![]()
| ![]() |
![]()
NAMEHPL_jumpit - jump into the random sequence. SYNOPSIS#include "hpl.h" void HPL_jumpit( int * MULT, int * IADD, int * IRANN, int * IRANM ); DESCRIPTIONHPL_jumpit jumps in the random sequence from the number X(n) encoded in IRANN to the number X(m) encoded in IRANM using the constants A and C encoded in MULT and IADD: X(m) = A * X(n) + C. The constants A and C obviously depend on m and n, see the function HPL_xjumpm in order to initialize them. ARGUMENTS
SEE ALSOHPL_ladd (3), HPL_lmul (3), HPL_setran (3), HPL_xjumpm (3), HPL_rand (3).
|