Gets the number of modes of the distribution.
Namespace:
Extreme.Statistics.Distributions
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public virtual int NumberOfModes { get; }
Public Overridable ReadOnly Property NumberOfModes As Integer
Get
public:
virtual property int NumberOfModes {
int get ();
}
abstract NumberOfModes : int with get
override NumberOfModes : int with get
Property Value
Type:
Int32
Most distributions are unimodal: The probability
density function has only one local maximum.
Some distributions, for example Beta distributions with
both shape parameters less than one, have two modes.
Some distributions, like the uniform distribution,
have infinitely many modes. In this case, this property
returns MaxValue.
Reference