Represents a RanLux pseudo-random number generator
SystemObject SystemRandom Extreme.Mathematics.RandomExtendedRandom Extreme.Mathematics.RandomRanLux
Namespace:
Extreme.Mathematics.Random
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public class RanLux : ExtendedRandom
Public Class RanLux
Inherits ExtendedRandom
public ref class RanLux : public ExtendedRandom
type RanLux =
class
inherit ExtendedRandom
end
The RanLux type exposes the following members.
| Name | Description |
---|
 | RanLux |
Constructs a new RanLux random number generator
using the default seed and luxury level.
|
 | RanLux(Int32) |
Constructs a new RanLux random number generator
using the specified seed and the default luxury level.
|
 | RanLux(RanLuxLuxuryLevel) |
Constructs a new RanLux random number generator
using the default seed and the specified luxury level.
|
 | RanLux(Int32, RanLuxLuxuryLevel) |
Constructs a new RanLux random number generator
using the specified seed and custom luxury level.
|
Top
| Name | Description |
---|
 | LuxuryLevel |
Gets the luxury level for the random number generator.
|
Top
Top
| Name | Description |
---|
 | AsParallel |
Returns a thread-safe version of this random number generator.
(Defined by RandomExtensions.) |
 | CorrelatedSamples |
Generates a series of random variables with the specified correlation matrix.
(Defined by RandomExtensions.) |
 | Fill(IListDouble) | Overloaded.
Fills a Double array with random numbers.
(Defined by RandomExtensions.) |
 | Fill(IListInt32) | Overloaded.
Fills an Int32 array with random numbers.
(Defined by RandomExtensions.) |
 | Fill(Double, ContinuousDistribution) | Overloaded.
Fills a Double array with random samples from the specified distribution.
(Defined by RandomExtensions.) |
 | Fill(Int32, DiscreteDistribution) | Overloaded.
Fills an Int32 array with random samples from the specified distribution.
(Defined by RandomExtensions.) |
 | Fill(VectorDouble, ContinuousDistribution) | Overloaded.
Fills a vector with random samples from the specified distribution.
(Defined by RandomExtensions.) |
 | Fill(VectorDouble, DiscreteDistribution) | Overloaded.
Fills a vector with random samples from the specified distribution.
(Defined by RandomExtensions.) |
 | Fill(Double, Int32, Int32) | Overloaded.
Fills a Double array with random samples from the specified distribution.
(Defined by RandomExtensions.) |
 | Fill(IListDouble, Int32, Int32) | Overloaded.
Fills a Double array with random numbers.
(Defined by RandomExtensions.) |
 | Fill(IListInt32, Int32, Int32) | Overloaded.
Fills an Int32 array with random numbers.
(Defined by RandomExtensions.) |
 | Fill(Int32, Int32, Int32) | Overloaded.
Fills an Int32 array with random samples from the specified distribution.
(Defined by RandomExtensions.) |
 | Fill(Double, Int32, Int32, ContinuousDistribution) | Overloaded.
Fills a Double array with random samples from the specified distribution.
(Defined by RandomExtensions.) |
 | Fill(Int32, Int32, Int32, DiscreteDistribution) | Overloaded.
Fills an Int32 array with random samples from the specified distribution.
(Defined by RandomExtensions.) |
 | FillNormal(IListDouble) | Overloaded.
Fills a list with normal random numbers with zero mean and unit
standard deviation.
(Defined by RandomExtensions.) |
 | FillNormal(IListDouble, Int32, Int32) | Overloaded.
Fills a list with normal random numbers with zero mean and unit
standard deviation.
(Defined by RandomExtensions.) |
 | Next |
Returns a sample from the specified distribution.
(Defined by RandomExtensions.) |
 | NextDouble |
Returns a sample from the specified distribution.
(Defined by RandomExtensions.) |
Top
Use the RanLux class to represent a pseudo-random number
generator based on M. Luescher's second generation version of the RANLUX
random number generator.
The RanLux generator produces random blocks of
48 bits. It has a period of over 10166.
RanLux can be used in place of
the Random class to obtain
pseudo-random numbers of a higher quality.
References:
- M. Leuscher, "A portable high-quality random number
random for lattice field theory calculations", Computer
Physics Communications, 79 (1994) 100-110.
- F. James, "RANLUX: A Fortran implementation of the
high-quality pseudo-random number generator of Leuscher",
Computer Physics Communications, 79 (1994) 111-114.
Reference