UniformDistribution Class |
Namespace: Novacta.Analytics
The UniformDistribution type exposes the following members.
Name | Description | |
---|---|---|
UniformDistribution |
Initializes a new instance of the UniformDistribution class
defined on an interval having the specified lower and upper bounds.
|
Name | Description | |
---|---|---|
CanInvertCdf |
Gets a value indicating whether this instance can invert its
cumulative distribution function.
(Overrides ProbabilityDistributionCanInvertCdf.) | |
LowerBound |
Gets the lower bound of the interval on which
this instance is defined.
| |
RandomNumberGenerator |
Gets or sets the basic random generator for this instance.
(Inherited from RandomDevice.) | |
UpperBound |
Gets the upper bound of the interval on which
this instance is defined.
|
Name | Description | |
---|---|---|
Cdf(Double) |
Computes the cumulative distribution function
of this instance at the specified argument.
(Overrides ProbabilityDistributionCdf(Double).) | |
Cdf(DoubleMatrix) |
Computes the cumulative distribution function
of this instance at the specified arguments.
(Inherited from ProbabilityDistribution.) | |
Cdf(ReadOnlyDoubleMatrix) |
Computes the cumulative distribution function
of this instance at the specified arguments.
(Inherited from ProbabilityDistribution.) | |
Default |
Creates a Uniform distribution on the interval
having lower and upper bounds equal to 0 and 1,
respectively.
| |
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.) | |
InverseCdf(Double) |
Computes the inverse of the cumulative distribution function
of this instance at the specified argument.
(Overrides ProbabilityDistributionInverseCdf(Double).) | |
InverseCdf(DoubleMatrix) |
Computes the inverse of the cumulative distribution function
of this instance at the specified arguments.
(Inherited from ProbabilityDistribution.) | |
InverseCdf(ReadOnlyDoubleMatrix) |
Computes the inverse of the cumulative distribution function
of this instance at the specified arguments.
(Inherited from ProbabilityDistribution.) | |
Mean |
Computes the mean of this instance.
(Overrides ProbabilityDistributionMean.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnSample |
Called when drawing a sample from this instance having the given size
and returns it
in a given destination array.
(Overrides ProbabilityDistributionOnSample(Int32, Double, Int32).) | |
Pdf(Double) |
Computes the probability density function
of this instance at the specified argument.
(Overrides ProbabilityDistributionPdf(Double).) | |
Pdf(DoubleMatrix) |
Computes the probability density function
of this instance at the specified arguments.
(Inherited from ProbabilityDistribution.) | |
Pdf(ReadOnlyDoubleMatrix) |
Computes the probability density function
of this instance at the specified arguments.
(Inherited from ProbabilityDistribution.) | |
Sample |
Draws a sample point from this instance.
(Overrides ProbabilityDistributionSample.) | |
Sample(Int32) |
Draws a sample from this instance having the specified size
and returns it as a matrix.
(Inherited from ProbabilityDistribution.) | |
Sample(Int32, Double, Int32) |
Draws a sample from this instance having the specified size
and returns it
in a destination array.
(Inherited from ProbabilityDistribution.) | |
StandardDeviation |
Computes the standard deviation of this instance.
(Inherited from ProbabilityDistribution.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Variance |
Computes the variance of this instance.
(Overrides ProbabilityDistributionVariance.) |
The Uniform density function can be written as follows:
where , while
and
are the lower and upper bounding parameters of the distribution,
with .
The lower bound parameter, , and the upper bound one, , can be get through the properties LowerBound and UpperBound, respectively.