Click or drag to resize

Erlang Class

Continuous Univariate Erlang distribution. This distribution is a continuous probability distribution with wide applicability primarily due to its relation to the exponential and Gamma distributions. Wikipedia - Erlang distribution.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.DistributionsErlang

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

The Erlang type exposes the following members.

Constructors
 NameDescription
Public methodErlang(Int32, Double) Initializes a new instance of the Erlang class.
Public methodErlang(Int32, Double, Random) Initializes a new instance of the Erlang class.
Top
Properties
 NameDescription
Public propertyEntropy Gets the entropy of the distribution.
Public propertyMaximum Gets the Maximum value.
Public propertyMean Gets the mean of the distribution.
Public propertyMedian Gets the median of the distribution.
Public propertyMinimum Gets the minimum value.
Public propertyMode Gets the mode of the distribution.
Public propertyRandomSource Gets or sets the random number generator which is used to draw random samples.
Public propertyRate Gets the rate or inverse scale (λ) of the Erlang distribution. Range: λ ≥ 0.
Public propertyScale Gets the scale of the Erlang distribution.
Public propertyShape Gets the shape (k) of the Erlang distribution. Range: k ≥ 0.
Public propertySkewness Gets the skewness of the distribution.
Public propertyStdDev Gets the standard deviation of the distribution.
Public propertyVariance Gets the variance of the distribution.
Top
Methods
 NameDescription
Public methodStatic memberCDF Computes the cumulative distribution (CDF) of the distribution at x, i.e. P(X ≤ x).
Public methodCumulativeDistribution Computes the cumulative distribution (CDF) of the distribution at x, i.e. P(X ≤ x).
Public methodDensity Computes the probability density of the distribution (PDF) at x, i.e. ∂P(X ≤ x)/∂x.
Public methodDensityLn Computes the log probability density of the distribution (lnPDF) at x, i.e. ln(∂P(X ≤ x)/∂x).
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.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberPDF Computes the probability density of the distribution (PDF) at x, i.e. ∂P(X ≤ x)/∂x.
Public methodStatic memberPDFLn Computes the log probability density of the distribution (lnPDF) at x, i.e. ln(∂P(X ≤ x)/∂x).
Public methodSample Generates a sample from the Erlang distribution.
Public methodStatic memberSample(Int32, Double) Generates a sample from the distribution.
Public methodStatic memberSample(Random, Int32, Double) Generates a sample from the distribution.
Public methodSamples Generates a sequence of samples from the Erlang distribution.
Public methodSamples(Double) Fills an array with samples generated from the distribution.
Public methodStatic memberSamples(Int32, Double) Generates a sequence of samples from the distribution.
Public methodStatic memberSamples(Double, Int32, Double) Fills an array with samples generated from the distribution.
Public methodStatic memberSamples(Random, Int32, Double) Generates a sequence of samples from the distribution.
Public methodStatic memberSamples(Random, Double, Int32, Double) Fills an array with samples generated from the distribution.
Public methodToString A string representation of the distribution.
(Overrides ObjectToString)
Public methodStatic memberWithShapeRate Constructs a Erlang distribution from a shape and inverse scale parameter. The distribution will be initialized with the default random number generator.
Public methodStatic memberWithShapeScale Constructs a Erlang distribution from a shape and scale parameter. The distribution will be initialized with the default random number generator.
Top
See Also