gospecfunc

package module
v0.0.0-...-e794f60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2019 License: BSD-3-Clause Imports: 0 Imported by: 0

README

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.

Documentation

Overview

Gospecfunc is a set of packages designed to make writing numeric and scientific algorithms easy by providing accurate performant algorithms that can scale for any application.

Gonum contains libraries for bessel functions, error functions and integral of special functions.

Directories

Path Synopsis
Package bessel provides the bessel and related functions
Package bessel provides the bessel and related functions
internal/amos
Package amos implements functions from Algorithm 644, Transactions on Mathematical Software
Package amos implements functions from Algorithm 644, Transactions on Mathematical Software
internal/toms
Package toms implements functions from Algorithm 757, Transactions on Mathematical Software
Package toms implements functions from Algorithm 757, Transactions on Mathematical Software
erf
Package erf provides the error function and related functions.
Package erf provides the error function and related functions.
internal/libcerf
Package libcerf implements functions from libcerf by Steven G. Johnson
Package libcerf implements functions from libcerf by Steven G. Johnson
internal/toms
Package toms implements functions from Algorithm 916, Transactions on Mathematical Software
Package toms implements functions from Algorithm 916, Transactions on Mathematical Software

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL