Logistic Class |
public class Logistic : IContinuousDistribution, IUnivariateDistribution, IDistribution
The Logistic type exposes the following members.
| Name | Description | |
|---|---|---|
| Logistic | Initializes a new instance of the Logistic class. This is a logistic distribution with mean 0.0 and scale 1.0. The distribution will be initialized with the default random number generator. | |
| Logistic(Random) | Initializes a new instance of the Logistic class. This is a logistic distribution with mean 0.0 and scale 1.0. The distribution will be initialized with the default random number generator. | |
| Logistic(Double, Double) | Initializes a new instance of the Logistic class with a particular mean and scale parameter. The distribution will be initialized with the default random number generator. | |
| Logistic(Double, Double, Random) | Initializes a new instance of the Logistic class with a particular mean and standard deviation. The distribution will be initialized with the default random number generator. |
| Name | Description | |
|---|---|---|
| Entropy | Gets the entropy of the logistic distribution. | |
| Maximum | Gets the maximum of the logistic distribution. | |
| Mean | Gets the mean (μ) of the logistic distribution. | |
| Median | Gets the median of the logistic distribution. | |
| Minimum | Gets the minimum of the logistic distribution. | |
| Mode | Gets the mode of the logistic distribution. | |
| Precision | Gets the precision of the logistic distribution. | |
| RandomSource | Gets the random number generator which is used to draw random samples. | |
| Scale | Gets the scale parameter of the Logistic distribution. Range: s > 0. | |
| Skewness | Gets the skewness of the logistic distribution. | |
| StdDev | Gets the standard deviation (σ) of the logistic distribution. Range: σ > 0. | |
| Variance | Gets the variance of the logistic 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) | |
| InvCDF | Computes the inverse of the cumulative distribution function (InvCDF) for the distribution at the given probability. This is also known as the quantile or percent point function. | |
| InverseCumulativeDistribution | Computes the inverse of the cumulative distribution function (InvCDF) for the distribution at the given probability. This is also known as the quantile or percent point function. | |
| 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 logistic distribution using the Box-Muller algorithm. | |
| Sample(Double, Double) | Generates a sample from the logistic distribution using the Box-Muller algorithm. | |
| Sample(Random, Double, Double) | Generates a sample from the logistic distribution using the Box-Muller algorithm. | |
| Samples | Generates a sequence of samples from the logistic distribution using the Box-Muller algorithm. | |
| Samples(Double) | Fills an array with samples generated from the distribution. | |
| Samples(Double, Double) | Generates a sequence of samples from the logistic distribution using the Box-Muller algorithm. | |
| Samples(Double, Double, Double) | Fills an array with samples generated from the distribution. | |
| Samples(Random, Double, Double) | Generates a sequence of samples from the logistic distribution using the Box-Muller algorithm. | |
| Samples(Random, Double, Double, Double) | Fills an array with samples generated from the distribution. | |
| ToString |
A string representation of the distribution.
(Overrides ObjectToString) | |
| WithMeanPrecision | Constructs a logistic distribution from a mean and precision. | |
| WithMeanScale | Constructs a logistic distribution from a mean and scale parameter. | |
| WithMeanStdDev | Constructs a logistic distribution from a mean and standard deviation. | |
| WithMeanVariance | Constructs a logistic distribution from a mean and variance. |