Constructs a random number generator with the specified lower and upper bounds
and generation method.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public DoubleRandomUniformDistribution( double lower, double upper, DoubleRandomUniformDistribution..::.GenerationMethod method ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ lower As Double, _ upper As Double, _ method As DoubleRandomUniformDistribution..::.GenerationMethod _ ) |
| Visual C++ |
|---|
public: DoubleRandomUniformDistribution( double lower, double upper, DoubleRandomUniformDistribution..::.GenerationMethod method ) |
Parameters
- lower
- Type: System..::.Double
The lower bound.
- upper
- Type: System..::.Double
The upper bound.
- method
- Type: CenterSpace.NMath.Core..::.DoubleRandomUniformDistribution..::.GenerationMethod
The generation method to use.