Constructs a random number generator for a beta distribution
using the specified distribution parameters.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public FloatRandomLogNormalDistribution( float mean, float sigma, float displacement, float scale, FloatRandomLogNormalDistribution..::.GenerationMethod method ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ mean As Single, _ sigma As Single, _ displacement As Single, _ scale As Single, _ method As FloatRandomLogNormalDistribution..::.GenerationMethod _ ) |
| Visual C++ |
|---|
public: FloatRandomLogNormalDistribution( float mean, float sigma, float displacement, float scale, FloatRandomLogNormalDistribution..::.GenerationMethod method ) |
Parameters
- mean
- Type: System..::.Single
The average of the subject normal distribution.
- sigma
- Type: System..::.Single
The standard deviation of the subject normal distribution.
- displacement
- Type: System..::.Single
Displacement.
- scale
- Type: System..::.Single
Scale factor.
- method
- Type: CenterSpace.NMath.Core..::.FloatRandomLogNormalDistribution..::.GenerationMethod
The generation method to use.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the standard deviation or scale factor is less than 0. |