C# 클래스 Artemis.Engine.Maths.SpecialFunctions

파일 보기 프로젝트 열기: ArtemisEngine/Artemis-Engine

공개 메소드들

메소드 설명
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