ErlangIsValidParameterSet Method |
Tests whether the provided values are valid parameters for this distribution.
Namespace: Altaxo.Calc.DistributionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static bool IsValidParameterSet(
int shape,
double rate
)
Parameters
- shape Int32
- The shape (k) of the Erlang distribution. Range: k ≥ 0.
- rate Double
- The rate or inverse scale (λ) of the Erlang distribution. Range: λ ≥ 0.
Return Value
Booleantrue if the parameters define a valid Erlang distribution; otherwise,
false.
See Also