Skip to content

GoSpecFunc is a set of packages designed to provide accurate numeric libraries for the computaion of special functions for the Go programming language

License

Notifications You must be signed in to change notification settings

dreading/gospecfunc

Repository files navigation

Build Status Go Report Card codecov GoDoc stability-unstable

Installation

The core packages of the gospecfunc suite are written in pure Go. Installation is done using go get.

go get -u github.com/dreading/gospecfunc

Special Functions

Bessel

Bessel and related functions:

Function Domain Description
Ai Airy Ai function
Aix Exponentially scaled Airy Ai function
Aid First derivative of the Airy Ai function
Aidx Exponentially scaled first derivative of the Airy Ai function
Bi Biry Bi function
Bix Exponentially scaled Biry Bi function
Bid First derivative of the Biry Bi function
Bidx Exponentially scaled first derivative of the Biry Bi function
Gi Modified Airy Gi function
Hi Modified Airy Hi function
I Modified Bessel function of the first kind
J Bessel function of the first kind
K Modified Bessel function of the second kind
Y Bessel function of the second kind
H1 Hankel fucntion of of the first kind
H2 Hankel fucntion of of the second kind

Erf

The error function and related functions:

Function Domain Description
Erf Error function
Erfc Complementary error function 1 - Erf(ζ)
Erfcx Scaled complementary error function exp(ζ²) Erfc(ζ)
Erfi Imaginary error function -i erf(iζ)
Dawson Dawson's function. The one-sided Fourier–Laplace sine transform of the Gaussian function
Fresnel Cos and Sin Fresnel integrals
Voigt Real and imaginary Voigt functions 𝖴(x,t) and 𝖵(x,t)
Faddeyeva Plasma dispersion Faddeyeva function exp(-ζ²) Erfc(-iζ)

Integrals

Integrals of special functions and special integral functions:

Function Domain Description
Abramowitz Abramowitz functions of order 0,1 and 2
Clausen Clausen's integral
Debye Debye functions of order 1,2,3 and 4
Goodst Goodst functions
Lobach Lobachewsky function
Strom Stromgren's integral
Synch Synchrotron radiation function or order 1 and 2
Transport Transport integrals of order 2,3,4,5,6,7,8 and 9
Struve Struve function of order 0 and 1
StruveModified Modified Struve function of order 0 and 1
AtnInt Inverse-tangent integral
Exp3 Exponential integral ∫ exp(-t³) dt
I0Int Integral of the modified Bessel function of the first kind order 0
J0Int Integral of the Bessel function of the first kind order 0
Y0Int Integral of the Bessel function of the second kind order 0
K0Int Integral of the modified Bessel function of the second kind order 0
AiInt Integral of the the Airy function Ai
BiInt Integral of the the Biry function Bi

Testing

 go test ./*/. 

Benchmarking

 go test -bench=. ./*/.

License

Original code is licensed under the Gonum License found in the LICENSE file. Portions of the code are subject to the additional licenses found in THIRD_PARTY_LICENSES.

About

GoSpecFunc is a set of packages designed to provide accurate numeric libraries for the computaion of special functions for the Go programming language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages