FiniteDiscreteDistributionUniform Method

Creates a finite discrete distribution having the specified values and assigns to them equal masses.

Definition

Namespace: Novacta.Analytics
Assembly: Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.1.0+428f3840cfab98dda567bb0ed350b302533e273a
C#
public static FiniteDiscreteDistribution Uniform(
	DoubleMatrix values
)

Parameters

values  DoubleMatrix
The values whose probabilities are explicitly assigned.

Return Value

FiniteDiscreteDistribution
A uniform finite discrete distribution.

Exceptions

ArgumentNullExceptionvalues is null.
ArgumentOutOfRangeExceptionvalues contains at least two identical entries.

See Also