Triangular |
public class TriangularDistribution : ContinuousDistribution
The TriangularDistribution type exposes the following members.
Name | Description | |
---|---|---|
TriangularDistribution | Initializes a new instance of the TriangularDistribution class, using a StandardGenerator as underlying random number generator. | |
TriangularDistribution(Generator) | Initializes a new instance of the TriangularDistribution class, using the specified Generator as underlying random number generator. | |
TriangularDistribution(Double, Double, Double) | Initializes a new instance of the TriangularDistribution class. | |
TriangularDistribution(Double, Double, Double, Generator) | Initializes a new instance of the TriangularDistribution class. |
Name | Description | |
---|---|---|
C | Gets or sets the parameter C (the location of the maximum of the PDF), which is used for generation of triangular distributed random numbers. | |
CanReset |
Gets a value indicating whether the random number distribution can be reset, so that it produces the same
random number sequence again.
(Inherited from Distribution) | |
Generator |
Gets or sets a Generator object that can be used as underlying random number generator.
(Inherited from Distribution) | |
Max | Gets or sets the parameter Max (the right boundary of the PDF), which is used for generation of triangular distributed random numbers. | |
Maximum |
Gets the maximum possible value of triangular distributed random numbers.
(Overrides DistributionMaximum) | |
Mean |
Gets the mean value of triangular distributed random numbers.
(Overrides DistributionMean) | |
Median |
Gets the median of triangular distributed random numbers.
(Overrides DistributionMedian) | |
Min | Gets or sets the parameter Min (the left boundary of the PDF), which is used for generation of triangular distributed random numbers. | |
Minimum |
Gets the minimum possible value of triangular distributed random numbers.
(Overrides DistributionMinimum) | |
Mode |
Gets the mode of triangular distributed random numbers.
(Overrides DistributionMode) | |
Variance |
Gets the variance of triangular distributed random numbers.
(Overrides DistributionVariance) |
Name | Description | |
---|---|---|
CDF(Double) |
Calculates the cumulative distribution function.
(Overrides ContinuousDistributionCDF(Double)) | |
CDF(Double, Double, Double, Double) | Calculates the cumulative distribution function at the specified 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) | |
Initialize | Initializes the distribution. | |
IsValidC | Determines whether the specified value is valid for parameter C. | |
IsValidMax | Determines whether the specified value is valid for parameter Max. | |
IsValidMin | Determines whether the specified value is valid for parameter Min. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
NextDouble |
Returns a triangular distributed floating point random number.
(Overrides DistributionNextDouble) | |
PDF(Double) |
Calculates the probability density function.
(Overrides ContinuousDistributionPDF(Double)) | |
PDF(Double, Double, Double, Double) | Calculates the probability density at the specified x. | |
Quantile(Double) |
Calculates the quantile of the distribution function.
(Overrides ContinuousDistributionQuantile(Double)) | |
Quantile(Double, Double, Double, Double) | Calculates the quantile at the specified probability p. | |
Reset |
Resets the random number distribution, so that it produces the same random number sequence again.
(Inherited from Distribution) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
generator |
Stores a Generator object that can be used as underlying random number generator.
(Inherited from Distribution) |