Returns an array that contains all the modes of the distribution.
Namespace:
Extreme.Statistics.Distributions
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public virtual double[] GetAllModes()
Public Overridable Function GetAllModes As Double()
public:
virtual array<double>^ GetAllModes()
abstract GetAllModes : unit -> float[]
override GetAllModes : unit -> float[]
Return Value
Type:
DoubleA double array containing the modes of the distribution.
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.
Reference