Binomial Distribution.Get All Modes Method
Definition
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public override int[] GetAllModes()
Return Value
Int32[]A double array containing the modes of the distribution.
Remarks
Most distributions are unimodal: The probability density function has only one local maximum. In this case, this method returns an array with one value.
Some distributions, for example Beta distributions with both shape parameters less than one, have two modes. In this case, this method returns an array with two values.
Some distributions, like the uniform distribution, have infinitely many modes in an interval. In this case, NumberOfModes is MaxValue and this method returns an array containing the lower and upper bounds of the interval.