| Package | Description |
|---|---|
| dev.nm.stat.random.rng.univariate.uniform.linear |
| Modifier and Type | Class and Description |
|---|---|
class |
CompositeLinearCongruentialGenerator
A composite generator combines a number of simple
LinearCongruentialGenerator, such as Lehmer, to form one
longer period generator by first summing values and then taking modulus. |
class |
LEcuyer
This is the uniform random number generator recommended by L'Ecuyer in 1996.
|
class |
Lehmer
Lehmer proposed a general linear congruential generator that generates pseudo-random numbers in
[0, 1].
|
class |
MRG
A Multiple Recursive Generator (MRG) is a linear congruential generator which takes this form:
\[
\begin{gathered}
x_{i} = (a_{1} \cdot x_{i-1} + a_{2} \cdot x_{i-2} + \ldots + a_{k} \cdot x_{i-k}) \operatorname{mod} m \\
u_{i} = x_{i} / m
\end{gathered}
\]
|
| Constructor and Description |
|---|
CompositeLinearCongruentialGenerator(LinearCongruentialGenerator[] rng)
Constructs a linear congruential generator from some simpler and shorter
modulus generators.
|
Copyright © 2010-2026 NM Group. All Rights Reserved.