|
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
)
Public Shared Function FromMatrix (
probabilities As Double(,),
Optional logarithm As Boolean = false
) As GeneralDiscreteDistribution()
Request Example
View SourceParameters
- probabilities
- Type: SystemDouble
- logarithm (Optional)
- Type: SystemBoolean
Return Value
Type:
GeneralDiscreteDistributionSee Also