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 FloatRandomUniformDistribution( float lower, float upper, FloatRandomUniformDistribution..::.GenerationMethod method ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ lower As Single, _ upper As Single, _ method As FloatRandomUniformDistribution..::.GenerationMethod _ ) |
| Visual C++ |
|---|
public: FloatRandomUniformDistribution( float lower, float upper, FloatRandomUniformDistribution..::.GenerationMethod method ) |
Parameters
- lower
- Type: System..::.Single
The lower bound.
- upper
- Type: System..::.Single
The upper bound.
- method
- Type: CenterSpace.NMath.Core..::.FloatRandomUniformDistribution..::.GenerationMethod
The generation method to use.