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 DoubleRandomLogNormalDistribution( double mean, double sigma, double displacement, double scale, DoubleRandomLogNormalDistribution..::.GenerationMethod method ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ mean As Double, _ sigma As Double, _ displacement As Double, _ scale As Double, _ method As DoubleRandomLogNormalDistribution..::.GenerationMethod _ ) |
| Visual C++ |
|---|
public: DoubleRandomLogNormalDistribution( double mean, double sigma, double displacement, double scale, DoubleRandomLogNormalDistribution..::.GenerationMethod method ) |
Parameters
- mean
- Type: System..::.Double
The average of the subject normal distribution.
- sigma
- Type: System..::.Double
The standard deviation of the subject normal distribution.
- displacement
- Type: System..::.Double
Displacement.
- scale
- Type: System..::.Double
Scale factor.
- method
- Type: CenterSpace.NMath.Core..::.DoubleRandomLogNormalDistribution..::.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. |