C# Класс Accord.Statistics.Distributions.Univariate.GeneralContinuousDistribution

General continuous distribution.

The general continuous distribution provides the automatic calculation for a variety of distribution functions and measures given only definitions for the Probability Density Function (PDF) or the Cumulative Distribution Function (CDF). Values such as the Expected value, Variance, Entropy and others are computed through numeric integration.

Наследование: UnivariateContinuousDistribution
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Clone ( ) : object

Creates a new object that is a copy of the current instance.

DistributionFunction ( double x ) : double

Gets the cumulative distribution function (cdf) for this distribution evaluated at point x.

FromDensityFunction ( DoubleRange support, double>.Func pdf ) : GeneralContinuousDistribution

Creates a new GeneralContinuousDistribution using only a probability density function definition.

FromDensityFunction ( DoubleRange support, double>.Func pdf, IUnivariateIntegration method ) : GeneralContinuousDistribution

Creates a new GeneralContinuousDistribution using only a probability density function definition.

FromDensityFunction ( double>.Func pdf ) : GeneralContinuousDistribution

Creates a new GeneralContinuousDistribution using only a probability density function definition.

FromDistribution ( UnivariateContinuousDistribution distribution ) : GeneralContinuousDistribution

Creates a new GeneralContinuousDistribution from an existing continuous distribution.

FromDistributionFunction ( DoubleRange support, double>.Func cdf ) : GeneralContinuousDistribution

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

FromDistributionFunction ( DoubleRange support, double>.Func cdf, IUnivariateIntegration method ) : GeneralContinuousDistribution

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

FromDistributionFunction ( double>.Func cdf ) : GeneralContinuousDistribution

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

GeneralContinuousDistribution ( DoubleRange support, double>.Func density, double>.Func distribution ) : System

Creates a new GeneralContinuousDistribution with the given PDF and CDF functions.

GeneralContinuousDistribution ( UnivariateContinuousDistribution distribution ) : System

Creates a new GeneralContinuousDistribution with the given PDF and CDF functions.

ProbabilityDensityFunction ( double x ) : double

Gets the probability density function (pdf) for this distribution evaluated at point x.

ToString ( string format, IFormatProvider formatProvider ) : string

Returns a System.String that represents this instance.

Приватные методы

Метод Описание
GeneralContinuousDistribution ( ) : System
createDefaultIntegrationMethod ( ) : InfiniteAdaptiveGaussKronrod

Описание методов

Clone() публичный Метод

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
Результат object

DistributionFunction() публичный Метод

Gets the cumulative distribution function (cdf) for this distribution evaluated at point x.
public DistributionFunction ( double x ) : double
x double A single point in the distribution range.
Результат double

FromDensityFunction() публичный статический Метод

Creates a new GeneralContinuousDistribution using only a probability density function definition.
public static FromDensityFunction ( DoubleRange support, double>.Func pdf ) : GeneralContinuousDistribution
support AForge.DoubleRange The distribution's support over the real line.
pdf double>.Func A probability density function.
Результат GeneralContinuousDistribution

FromDensityFunction() публичный статический Метод

Creates a new GeneralContinuousDistribution using only a probability density function definition.
public static FromDensityFunction ( DoubleRange support, double>.Func pdf, IUnivariateIntegration method ) : GeneralContinuousDistribution
support AForge.DoubleRange The distribution's support over the real line.
pdf double>.Func A probability density function.
method IUnivariateIntegration The integration method to use for numerical computations.
Результат GeneralContinuousDistribution

FromDensityFunction() публичный статический Метод

Creates a new GeneralContinuousDistribution using only a probability density function definition.
public static FromDensityFunction ( double>.Func pdf ) : GeneralContinuousDistribution
pdf double>.Func A probability density function.
Результат GeneralContinuousDistribution

FromDistribution() публичный статический Метод

Creates a new GeneralContinuousDistribution from an existing continuous distribution.
public static FromDistribution ( UnivariateContinuousDistribution distribution ) : GeneralContinuousDistribution
distribution UnivariateContinuousDistribution The distribution.
Результат GeneralContinuousDistribution

FromDistributionFunction() публичный статический Метод

Creates a new GeneralContinuousDistribution using only a cumulative distribution function definition.
public static FromDistributionFunction ( DoubleRange support, double>.Func cdf ) : GeneralContinuousDistribution
support AForge.DoubleRange The distribution's support over the real line.
cdf double>.Func A cumulative distribution function.
Результат GeneralContinuousDistribution

FromDistributionFunction() публичный статический Метод

Creates a new GeneralContinuousDistribution using only a cumulative distribution function definition.
public static FromDistributionFunction ( DoubleRange support, double>.Func cdf, IUnivariateIntegration method ) : GeneralContinuousDistribution
support AForge.DoubleRange The distribution's support over the real line.
cdf double>.Func A cumulative distribution function.
method IUnivariateIntegration The integration method to use for numerical computations.
Результат GeneralContinuousDistribution

FromDistributionFunction() публичный статический Метод

Creates a new GeneralContinuousDistribution using only a cumulative distribution function definition.
public static FromDistributionFunction ( double>.Func cdf ) : GeneralContinuousDistribution
cdf double>.Func A cumulative distribution function.
Результат GeneralContinuousDistribution

GeneralContinuousDistribution() публичный Метод

Creates a new GeneralContinuousDistribution with the given PDF and CDF functions.
public GeneralContinuousDistribution ( DoubleRange support, double>.Func density, double>.Func distribution ) : System
support AForge.DoubleRange The distribution's support over the real line.
density double>.Func A probability density function.
distribution double>.Func A cumulative distribution function.
Результат System

GeneralContinuousDistribution() публичный Метод

Creates a new GeneralContinuousDistribution with the given PDF and CDF functions.
public GeneralContinuousDistribution ( UnivariateContinuousDistribution distribution ) : System
distribution UnivariateContinuousDistribution A distribution whose properties will be numerically estimated.
Результат System

ProbabilityDensityFunction() публичный Метод

Gets the probability density function (pdf) for this distribution evaluated at point x.
public ProbabilityDensityFunction ( double x ) : double
x double A single point in the distribution range.
Результат double

ToString() публичный Метод

Returns a System.String that represents this instance.
public ToString ( string format, IFormatProvider formatProvider ) : string
format string The format.
formatProvider IFormatProvider The format provider.
Результат string