ContinuousUniformDistribution.NumberOfModes Property

Gets the number of modes of the distribution.

Definition

Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public override int NumberOfModes { get; }

Property Value

Int32

Remarks

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.

See Also