Click or drag to resize
Accord.NET (logo)

GeneralDiscreteDistributionFromMatrix Method (Double, Boolean)

Creates general discrete distributions given a matrix of symbol probabilities.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static GeneralDiscreteDistribution[] FromMatrix(
	double[,] probabilities,
	bool logarithm = false
)
Request Example View Source

Parameters

probabilities
Type: SystemDouble
logarithm (Optional)
Type: SystemBoolean

Return Value

Type: GeneralDiscreteDistribution
See Also