|
GeneralContinuousDistributionFromDensityFunction Method (DoubleRange, FuncDouble, Double, IUnivariateIntegration)
|
Namespace:
Accord.Statistics.Distributions.Univariate
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static GeneralContinuousDistribution FromDensityFunction(
DoubleRange support,
Func<double, double> pdf,
IUnivariateIntegration method
)
Public Shared Function FromDensityFunction (
support As DoubleRange,
pdf As Func(Of Double, Double),
method As IUnivariateIntegration
) As GeneralContinuousDistribution
Request Example
View SourceParameters
- support
- Type: AccordDoubleRange
The distribution's support over the real line. - pdf
- Type: SystemFuncDouble, Double
A probability density function. - method
- Type: Accord.Math.IntegrationIUnivariateIntegration
The integration method to use for numerical computations.
Return Value
Type:
GeneralContinuousDistributionA
GeneralContinuousDistribution created from the
pdf whose measures and functions are computed using
numerical integration and differentiation.
See Also