Click or drag to resize
Accord.NET (logo)

GeneralContinuousDistributionFromDistributionFunction Method (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(
	Func<double, double> cdf
)
Request Example View Source

Parameters

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