BinomialIsValidParameterSet 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(
double p,
int n
)
Parameters
- p Double
- The success probability (p) in each trial. Range: 0 ≤ p ≤ 1.
- n Int32
- The number of trials (n). Range: n ≥ 0.
Return Value
Booleantrue if the parameters define a valid binomial distribution; otherwise,
false.
See Also