C# Класс Artemis.Engine.Maths.SpecialFunctions

Показать файл Открыть проект

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

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

Returns the hyperbolic arc cosine of the specified number.

AiryA ( double x ) : double

Return the value of the Airy Ai function at x.

AiryB ( double x ) : double

Return the value of the Airy Bi function at x.

Asinh ( double xx ) : double

Returns the hyperbolic arc sine of the specified number.

Atanh ( double x ) : double

Returns the hyperbolic arc tangent of the specified number.

BivariateNormDistr ( double x, double y ) : double

Return the value of the bivariate normal distribution at (x, y) (e^(-x^2 - y^2)).

ChiSqrd ( double df, double x ) : double

Returns the chi-square function (left hand tail).

CiApprox ( double x ) : double

Approximately evaluate the cosine integral at x. This approximation only converges for |x| <= 5π. The cosine integral is defined as x / Ci(x) = γ + ln(x) + | (cos(t) - 1)/t dt / 0

ComplementedChiSqrd ( double df, double x ) : double

Returns the chi-square function (right hand tail).

ComplementedIncompleteGamma ( double a, double x ) : double

Returns the complemented incomplete gamma function.

ComplementedPoissonDistribution ( int k, double x ) : double

Returns the sum of the terms k+1 to infinity of the Poisson distribution.

CosSqrd ( double x ) : double

Return the value of cos(x)^2.

CumulativeNormalDistribution ( double a ) : double

Returns the area under the Gaussian probability density function, integrated from minus infinity to a.

Digamma ( double x ) : double

Return the value of the digamma function (the logarithmic derivative of the gamma function) at x.

Erf ( double x ) : double

Returns the error function of the specified number.

Erfc ( double a ) : double

Returns the complementary error function of the specified number.

FuzzySoftMax ( double x, double y, double k ) : double

A scaled version of the SoftMax function with smoothing parameter k.

FuzzySoftMin ( double x, double y, double k ) : double

A scaled version of the SoftMin function with smoothing parameter k.

Gamma ( double x ) : double

Returns the gamma function of the specified number.

IncompleteBeta ( double aa, double bb, double xx ) : double

Returns the incomplete beta function evaluated from zero to xx.

IncompleteGamma ( double a, double x ) : double

Returns the incomplete gamma function.

J0 ( double x ) : double

Returns the Bessel function of order 0 of the specified number.

J1 ( double x ) : double

Returns the Bessel function of order 1 of the specified number.

JN ( int n, double x ) : double

Returns the Bessel function of order n of the specified number.

Log10 ( double x ) : double

Returns the base 10 logarithm of the specified number.

LogGamma ( double x ) : double

Returns the natural logarithm of gamma function.

NormDistr ( double x ) : double

Return the value of the normal distribution at x (e^(-x^2)).

PoissonDistribution ( int k, double x ) : double

Returns the sum of the first k terms of the Poisson distribution.

SiApprox ( double x ) : double

Approximately evaluate the sine integral at x. This approximation only converges for |x| <= 5π. The sine integral is defined as x / Si(x) = | sinc(t) dt / 0 with sinc(t) = sin(t)/t.

SineSqrd ( double x ) : double

Return the value of sin(x)^2.

SoftMax ( double x, double y ) : double

SoftMax is an infinitely differentiable approximation of the standard Max function (i.e. it is smooth).

SoftMin ( double x, double y ) : double

SoftMin is an infinitely differentiable approximation of the standard Min function (i.e. it is smooth).

Y0 ( double x ) : double

Returns the Bessel function of the second kind, of order 0 of the specified number.

Y1 ( double x ) : double

Returns the Bessel function of the second kind, of order 1 of the specified number.

YN ( int n, double x ) : double

Returns the Bessel function of the second kind, of order n of the specified number.

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

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

Return the gamma function computed by Stirling's formula.

incbcf ( double a, double b, double x ) : double

Returns the continued fraction expansion #1 for incomplete beta integral.

incbd ( double a, double b, double x ) : double

Returns the continued fraction expansion #2 for incomplete beta integral.

p1evl ( double x, double coef, int N ) : double

Evaluates polynomial of degree N with assumtion that coef[N] = 1.0

polevl ( double x, double coef, int N ) : double

Evaluates polynomial of degree N

pseries ( double a, double b, double x ) : double

Returns the power series for incomplete beta integral. Use when b*x is small and x not too close to 1.

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

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

Returns the hyperbolic arc cosine of the specified number.
public static Acosh ( double x ) : double
x double
Результат double

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

Return the value of the Airy Ai function at x.
public static AiryA ( double x ) : double
x double
Результат double

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

Return the value of the Airy Bi function at x.
public static AiryB ( double x ) : double
x double
Результат double

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

Returns the hyperbolic arc sine of the specified number.
public static Asinh ( double xx ) : double
xx double
Результат double

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

Returns the hyperbolic arc tangent of the specified number.
public static Atanh ( double x ) : double
x double
Результат double

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

Return the value of the bivariate normal distribution at (x, y) (e^(-x^2 - y^2)).
public static BivariateNormDistr ( double x, double y ) : double
x double
y double
Результат double

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

Returns the chi-square function (left hand tail).
public static ChiSqrd ( double df, double x ) : double
df double degrees of freedom
x double double value
Результат double

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

Approximately evaluate the cosine integral at x. This approximation only converges for |x| <= 5π. The cosine integral is defined as x / Ci(x) = γ + ln(x) + | (cos(t) - 1)/t dt / 0
public static CiApprox ( double x ) : double
x double
Результат double

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

Returns the chi-square function (right hand tail).
public static ComplementedChiSqrd ( double df, double x ) : double
df double degrees of freedom
x double double value
Результат double

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

Returns the complemented incomplete gamma function.
public static ComplementedIncompleteGamma ( double a, double x ) : double
a double
x double
Результат double

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

Returns the sum of the terms k+1 to infinity of the Poisson distribution.
public static ComplementedPoissonDistribution ( int k, double x ) : double
k int start
x double double value
Результат double

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

Return the value of cos(x)^2.
public static CosSqrd ( double x ) : double
x double
Результат double

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

Returns the area under the Gaussian probability density function, integrated from minus infinity to a.
public static CumulativeNormalDistribution ( double a ) : double
a double
Результат double

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

Return the value of the digamma function (the logarithmic derivative of the gamma function) at x.
public static Digamma ( double x ) : double
x double
Результат double

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

Returns the error function of the specified number.
public static Erf ( double x ) : double
x double
Результат double

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

Returns the complementary error function of the specified number.
public static Erfc ( double a ) : double
a double
Результат double

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

A scaled version of the SoftMax function with smoothing parameter k.
public static FuzzySoftMax ( double x, double y, double k ) : double
x double
y double
k double
Результат double

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

A scaled version of the SoftMin function with smoothing parameter k.
public static FuzzySoftMin ( double x, double y, double k ) : double
x double
y double
k double
Результат double

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

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

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

Returns the incomplete beta function evaluated from zero to xx.
public static IncompleteBeta ( double aa, double bb, double xx ) : double
aa double
bb double
xx double
Результат double

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

Returns the incomplete gamma function.
public static IncompleteGamma ( double a, double x ) : double
a double
x double
Результат double

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

Returns the Bessel function of order 0 of the specified number.
public static J0 ( double x ) : double
x double
Результат double

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

Returns the Bessel function of order 1 of the specified number.
public static J1 ( double x ) : double
x double
Результат double

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

Returns the Bessel function of order n of the specified number.
public static JN ( int n, double x ) : double
n int
x double
Результат double

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

Returns the base 10 logarithm of the specified number.
public static Log10 ( double x ) : double
x double
Результат double

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

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

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

Return the value of the normal distribution at x (e^(-x^2)).
public static NormDistr ( double x ) : double
x double
Результат double

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

Returns the sum of the first k terms of the Poisson distribution.
public static PoissonDistribution ( int k, double x ) : double
k int number of terms
x double double value
Результат double

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

Approximately evaluate the sine integral at x. This approximation only converges for |x| <= 5π. The sine integral is defined as x / Si(x) = | sinc(t) dt / 0 with sinc(t) = sin(t)/t.
public static SiApprox ( double x ) : double
x double
Результат double

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

Return the value of sin(x)^2.
public static SineSqrd ( double x ) : double
x double
Результат double

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

SoftMax is an infinitely differentiable approximation of the standard Max function (i.e. it is smooth).
public static SoftMax ( double x, double y ) : double
x double
y double
Результат double

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

SoftMin is an infinitely differentiable approximation of the standard Min function (i.e. it is smooth).
public static SoftMin ( double x, double y ) : double
x double
y double
Результат double

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

Returns the Bessel function of the second kind, of order 0 of the specified number.
public static Y0 ( double x ) : double
x double
Результат double

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

Returns the Bessel function of the second kind, of order 1 of the specified number.
public static Y1 ( double x ) : double
x double
Результат double

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

Returns the Bessel function of the second kind, of order n of the specified number.
public static YN ( int n, double x ) : double
n int
x double
Результат double