Sets the lower bound, upper bound, and mode for the distribution.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public void SetParameters( double lb, double ub, double m ) |
| Visual Basic (Declaration) |
|---|
Public Sub SetParameters ( _ lb As Double, _ ub As Double, _ m As Double _ ) |
| Visual C++ |
|---|
public: void SetParameters( double lb, double ub, double m ) |
Parameters
- lb
- Type: System..::.Double
The lower bound.
- ub
- Type: System..::.Double
The upper bound.
- m
- Type: System..::.Double
The mode.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the lower bound, upper bound, and mode are not distinct, or if the mode is not strictly between the lower and upper bounds. |