Sets the scale and shape parameter for this distribution.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public void SetParameters( double scale, double shape ) |
| Visual Basic (Declaration) |
|---|
Public Sub SetParameters ( _ scale As Double, _ shape As Double _ ) |
| Visual C++ |
|---|
public: void SetParameters( double scale, double shape ) |
Parameters
- scale
- Type: System..::.Double
The scale parameter. Must be positive.
- shape
- Type: System..::.Double
The shape parameter. Must be positive.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the input scale or shape parameters are less than or equal to 0. |