Dirichlet Class |
public class Dirichlet : IDistribution
The Dirichlet type exposes the following members.
| Name | Description | |
|---|---|---|
| Dirichlet(Double) | Initializes a new instance of the Dirichlet class. The distribution will be initialized with the default random number generator. | |
| Dirichlet(Double, Int32) | Initializes a new instance of the Dirichlet class. random number generator. | |
| Dirichlet(Double, Random) | Initializes a new instance of the Dirichlet class. The distribution will be initialized with the default random number generator. | |
| Dirichlet(Double, Int32, Random) | Initializes a new instance of the Dirichlet class. random number generator. |
| Name | Description | |
|---|---|---|
| Alpha | Gets or sets the parameters of the Dirichlet distribution. | |
| Dimension | Gets the dimension of the Dirichlet distribution. | |
| Entropy | Gets the entropy of the distribution. | |
| Mean | Gets the mean of the Dirichlet distribution. | |
| RandomSource | Gets or sets the random number generator which is used to draw random samples. | |
| Variance | Gets the variance of the Dirichlet distribution. |
| Name | Description | |
|---|---|---|
| Density | Computes the density of the distribution. | |
| DensityLn | Computes the log density of the distribution. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsValidParameterSet | 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. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Sample | Samples a Dirichlet distributed random vector. | |
| Sample(Random, Double) | Samples a Dirichlet distributed random vector. | |
| ToString |
Returns a String that represents this instance.
(Overrides ObjectToString) |