C# Класс Accord.Math.Gamma

Set of special mathematic functions.
References: Cephes Math Library, http://www.netlib.org/cephes/
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Digamma ( double x ) : double

Digamma function.

Function ( double x ) : double

Gamma function of the specified value.

Inverse ( double a, double y ) : double

Inverse of the complemented incomplete Gamma integral (UpperIncomplete, Q).

InverseLowerIncomplete ( double a, double y ) : double

Inverse of the incomplete Gamma integral (LowerIncomplete, P).

InverseUpperIncomplete ( double a, double y ) : double

Inverse of the complemented incomplete Gamma integral (UpperIncomplete, Q).

Log ( double x ) : double

Natural logarithm of the gamma function.

Log ( double x, int p ) : double

Natural logarithm of the multivariate Gamma function.

LowerIncomplete ( double a, double x ) : double

Lower incomplete regularized gamma function P (a.k.a. the incomplete Gamma function).

This function is equivalent to P(x) = γ(s, x) / Γ(s).

Multivariate ( double x, int p ) : double

Multivariate Gamma function

Stirling ( double x ) : double

Gamma function as computed by Stirling's formula.

Trigamma ( double x ) : double

Trigamma function.

This code has been adapted from the FORTRAN77 and subsequent C code by B. E. Schneider and John Burkardt. The code had been made public under the GNU LGPL license.

UpperIncomplete ( double a, double x ) : double

Upper incomplete regularized Gamma function Q (a.k.a the incomplete complemented Gamma function)

This function is equivalent to Q(x) = Γ(s, x) / Γ(s).

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

Метод Описание
inverse ( double a, double y ) : double

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

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

Digamma function.
public static Digamma ( double x ) : double
x double
Результат double

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

Gamma function of the specified value.
public static Function ( double x ) : double
x double
Результат double

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

Inverse of the complemented incomplete Gamma integral (UpperIncomplete, Q).
public static Inverse ( double a, double y ) : double
a double
y double
Результат double

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

Inverse of the incomplete Gamma integral (LowerIncomplete, P).
public static InverseLowerIncomplete ( double a, double y ) : double
a double
y double
Результат double

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

Inverse of the complemented incomplete Gamma integral (UpperIncomplete, Q).
public static InverseUpperIncomplete ( double a, double y ) : double
a double
y double
Результат double

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

Natural logarithm of the gamma function.
public static Log ( double x ) : double
x double
Результат double

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

Natural logarithm of the multivariate Gamma function.
public static Log ( double x, int p ) : double
x double
p int
Результат double

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

Lower incomplete regularized gamma function P (a.k.a. the incomplete Gamma function).
This function is equivalent to P(x) = γ(s, x) / Γ(s).
public static LowerIncomplete ( double a, double x ) : double
a double
x double
Результат double

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

Multivariate Gamma function
public static Multivariate ( double x, int p ) : double
x double
p int
Результат double

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

Gamma function as computed by Stirling's formula.
public static Stirling ( double x ) : double
x double
Результат double

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

Trigamma function.
This code has been adapted from the FORTRAN77 and subsequent C code by B. E. Schneider and John Burkardt. The code had been made public under the GNU LGPL license.
public static Trigamma ( double x ) : double
x double
Результат double

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

Upper incomplete regularized Gamma function Q (a.k.a the incomplete complemented Gamma function)
This function is equivalent to Q(x) = Γ(s, x) / Γ(s).
public static UpperIncomplete ( double a, double x ) : double
a double
x double
Результат double