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