Constructs a WeibullDistribution instance with the given scale and shape.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public WeibullDistribution(
	double scale,
	double shape
)
Visual Basic (Declaration)
Public Sub New ( _
	scale As Double, _
	shape As Double _
)
Visual C++
public:
WeibullDistribution(
	double scale, 
	double shape
)

Parameters

scale
Type: System..::.Double
The scale parameter for the distribution. Must be positive.
shape
Type: System..::.Double
The shape parameter for the distribution. Must be positive.

Exceptions

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

See Also