Sets the shape an scale parameters for the Weibull distribution. Both must be positive.

Namespace:  CenterSpace.NMath.Core
Assembly:  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

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if either the shape or scale parameters are less than or equal to 0.

See Also