Discrete Uniform Distribution.Number Of Modes Property
Gets the number of modes of the distribution.
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public override int NumberOfModes { get; }
Property Value
Int32Remarks
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.