Click or drag to resize

Dirichlet Class

Multivariate Dirichlet distribution. For details about this distribution, see Wikipedia - Dirichlet distribution.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.DistributionsDirichlet

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class Dirichlet : IDistribution

The Dirichlet type exposes the following members.

Constructors
 NameDescription
Public methodDirichlet(Double) Initializes a new instance of the Dirichlet class. The distribution will be initialized with the default random number generator.
Public methodDirichlet(Double, Int32) Initializes a new instance of the Dirichlet class. random number generator.
Public methodDirichlet(Double, Random) Initializes a new instance of the Dirichlet class. The distribution will be initialized with the default random number generator.
Public methodDirichlet(Double, Int32, Random) Initializes a new instance of the Dirichlet class. random number generator.
Top
Properties
 NameDescription
Public propertyAlpha Gets or sets the parameters of the Dirichlet distribution.
Public propertyDimension Gets the dimension of the Dirichlet distribution.
Public propertyEntropy Gets the entropy of the distribution.
Public propertyMean Gets the mean of the Dirichlet distribution.
Public propertyRandomSource Gets or sets the random number generator which is used to draw random samples.
Public propertyVariance Gets the variance of the Dirichlet distribution.
Top
Methods
 NameDescription
Public methodDensity Computes the density of the distribution.
Public methodDensityLn Computes the log density of the distribution.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberIsValidParameterSet Tests whether the provided values are valid parameters for this distribution. No parameter can be less than zero and at least one parameter should be larger than zero.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSample Samples a Dirichlet distributed random vector.
Public methodStatic memberSample(Random, Double) Samples a Dirichlet distributed random vector.
Public methodToString Returns a String that represents this instance.
(Overrides ObjectToString)
Top
See Also