Represents the triangular distribution.

Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Class TriangularDistribution _
	Inherits ContinuousDistribution
C#
public class TriangularDistribution : ContinuousDistribution
C++
public ref class TriangularDistribution : public ContinuousDistribution

Methods

IconTypeDescription
DistributionFunction(Double)
Evaluates the cumulative distribution function (CDF) of this distribution for the specified value.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetExpectedHistogram(Double[](), Double)
Gets a Histogram whose bins contain the expected number of samples for a given total number of samples.
GetExpectedHistogram(Double, Double, Int32, Double)
Gets a Histogram whose bins contain the expected number of samples for a given total number of samples.
GetHashCode()
Serves as a hash function for a particular type.
static memberGetRandomVariate(Random, Double, Double, Double)
Returns a single random variate from a triangular distribution with the specified parameters..
static memberGetRandomVariate(Random, Double, Double)
Returns a single random variate from a triangular distribution with the specified parameters.
static memberGetRandomVariate(Random, Double)
Returns a single random variate from a triangular distribution with the specified parameters.
GetRandomVariate(Random)
Returns a random sample from the distribution.
GetRandomVariates(Random, Vector)
Fills a Vector with random numbers.
GetRandomVariates(Random, Double[]())
Fills a Double array with random numbers.
GetRandomVariates(Random, Double[](), Int32, Int32)
Fills a Double array with random numbers.
GetRandomVariates(Random, Vector, Int32, Int32)
Fills a Double array with random numbers.
GetType()
Gets the Type of the current instance.
InverseDistributionFunction(Double)
Returns the sample value at the specified percentile.
MemberwiseClone()
Creates a shallow copy of the current Object.
Probability(Double, Double)
Returns the probability that a sample taken from the distribution lies inside the specified interval.
ProbabilityDensityFunction(Double)
Returns the value of the probability density function (PDF) of this distribution for the specified value.
SurvivorDistributionFunction(Double)
Evaluates the survivor distribution function (SDF) of this distribution for the specified value.
ToString()
Returns a String that represents the current Object.

Constructors

IconTypeDescription
TriangularDistributionNew(Double)
Constructs a new TriangularDistribution distribution over the unit interval.
TriangularDistributionNew(Double, Double)
Constructs a new TriangularDistribution distribution over an interval with lower bound 0.
TriangularDistributionNew(Double, Double, Double)
Constructs a new TriangularDistribution object.

Properties

IconTypeDescription
InterQuartileRange
Returns the inter-quartile range of this distribution.
IsSymmetrical
Gets a value that indicates whether the distribution is known to be symmetrical around the mean.
Kurtosis
Gets the kurtosis of the distribution.
LowerBound
Gets the smallest possible value of the distribution.
Mean
Gets the mean or expectation value of the distribution.
Mode
Gets the mode or point of maximum likelihood of the distribution.
Skewness
Gets the skewness of the distribution.
StandardDeviation
Gets the standard deviation of the distribution.
UpperBound
Gets the largest possible value of the distribution.
Variance
Gets the variance of the distribution.

Remarks

The triangular distribution has a distribution function that looks like a triangle. It has three parameters: the lower and upper boundaries of its range, and the point where the probability density function reaches its upperBound.

Inheritance Hierarchy

System.Object
  Extreme.Statistics.Distributions.Distribution
    Extreme.Statistics.Distributions.ContinuousDistribution
      Extreme.Statistics.Distributions.TriangularDistribution