Click or drag to resize
Accord.NET (logo)

GeneralContinuousDistributionFromDistributionFunction Method (DoubleRange, FuncDouble, Double)

Creates a new GeneralContinuousDistribution using only a cumulative distribution function definition.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static GeneralContinuousDistribution FromDistributionFunction(
	DoubleRange support,
	Func<double, double> cdf
)
Request Example View Source

Parameters

support
Type: AccordDoubleRange
The distribution's support over the real line.
cdf
Type: SystemFuncDouble, Double
A cumulative distribution function.

Return Value

Type: GeneralContinuousDistribution
A GeneralContinuousDistribution created from the cdf whose measures and functions are computed using numerical integration and differentiation.
See Also