Erlang Class |
public class Erlang : IContinuousDistribution, IUnivariateDistribution, IDistribution
The Erlang type exposes the following members.
Name | Description | |
---|---|---|
![]() | Erlang(Int32, Double) | Initializes a new instance of the Erlang class. |
![]() | Erlang(Int32, Double, Random) | Initializes a new instance of the Erlang class. |
Name | Description | |
---|---|---|
![]() | Entropy | Gets the entropy of the distribution. |
![]() | Maximum | Gets the Maximum value. |
![]() | Mean | Gets the mean of the distribution. |
![]() | Median | Gets the median of the distribution. |
![]() | Minimum | Gets the minimum value. |
![]() | Mode | Gets the mode of the distribution. |
![]() | RandomSource | Gets or sets the random number generator which is used to draw random samples. |
![]() | Rate | Gets the rate or inverse scale (λ) of the Erlang distribution. Range: λ ≥ 0. |
![]() | Scale | Gets the scale of the Erlang distribution. |
![]() | Shape | Gets the shape (k) of the Erlang distribution. Range: k ≥ 0. |
![]() | Skewness | Gets the skewness of the distribution. |
![]() | StdDev | Gets the standard deviation of the distribution. |
![]() | Variance | Gets the variance of the distribution. |
Name | Description | |
---|---|---|
![]() ![]() | CDF | Computes the cumulative distribution (CDF) of the distribution at x, i.e. P(X ≤ x). |
![]() | CumulativeDistribution | Computes the cumulative distribution (CDF) of the distribution at x, i.e. P(X ≤ x). |
![]() | Density | Computes the probability density of the distribution (PDF) at x, i.e. ∂P(X ≤ x)/∂x. |
![]() | DensityLn | Computes the log probability density of the distribution (lnPDF) at x, i.e. ln(∂P(X ≤ x)/∂x). |
![]() | 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. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() ![]() | Computes the probability density of the distribution (PDF) at x, i.e. ∂P(X ≤ x)/∂x. | |
![]() ![]() | PDFLn | Computes the log probability density of the distribution (lnPDF) at x, i.e. ln(∂P(X ≤ x)/∂x). |
![]() | Sample | Generates a sample from the Erlang distribution. |
![]() ![]() | Sample(Int32, Double) | Generates a sample from the distribution. |
![]() ![]() | Sample(Random, Int32, Double) | Generates a sample from the distribution. |
![]() | Samples | Generates a sequence of samples from the Erlang distribution. |
![]() | Samples(Double) | Fills an array with samples generated from the distribution. |
![]() ![]() | Samples(Int32, Double) | Generates a sequence of samples from the distribution. |
![]() ![]() | Samples(Double, Int32, Double) | Fills an array with samples generated from the distribution. |
![]() ![]() | Samples(Random, Int32, Double) | Generates a sequence of samples from the distribution. |
![]() ![]() | Samples(Random, Double, Int32, Double) | Fills an array with samples generated from the distribution. |
![]() | ToString |
A string representation of the distribution.
(Overrides ObjectToString) |
![]() ![]() | WithShapeRate | Constructs a Erlang distribution from a shape and inverse scale parameter. The distribution will be initialized with the default random number generator. |
![]() ![]() | WithShapeScale | Constructs a Erlang distribution from a shape and scale parameter. The distribution will be initialized with the default random number generator. |