Documentation ¶
Overview ¶
Package erf provides the error function and related functions.
Index ¶
- func Dawson(z complex128) complex128
- func Erf(z complex128) complex128
- func Erfc(z complex128) complex128
- func Erfcx(z complex128) complex128
- func Erfi(z complex128) complex128
- func Faddeyeva(z complex128) complex128
- func Fresnel(z complex128) (complex128, complex128)
- func Voigt(x float64, t float64) (float64, float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dawson ¶
func Dawson(z complex128) complex128
Dawson computes approximate values for the Dawson function (integral). Dawson function is the one-sided Fourier–Laplace sine transform of the Gaussian function.
func Erfc ¶
func Erfc(z complex128) complex128
Erfc computes approximate values for the complementary error function erfc(z) = 1 - erf(z)
func Erfcx ¶
func Erfcx(z complex128) complex128
Erfcx computes approximate values for the scaled complementary error function erfcx(z) = exp(z^2) * erfc(z)
func Erfi ¶
func Erfi(z complex128) complex128
Erfi computes approximate values for the imaginary error function erfi(z) = -i*erf(iz).
func Faddeyeva ¶
func Faddeyeva(z complex128) complex128
Faddeyeva computes the plasma dispersion Faddeyeva function, w(z) = exp(-z^2) * erfc(-i*z) where z=x+iy and erfc(z) is the complex complementary error function of z
func Fresnel ¶
func Fresnel(z complex128) (complex128, complex128)
Fresnel computes approximate values for the cos and sin Fresnel integral int_0^x cos(t^2) dt and integral int_0^x sin(t^2) dt
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
libcerf
Package libcerf implements functions from libcerf by Steven G. Johnson
|
Package libcerf implements functions from libcerf by Steven G. Johnson |
toms
Package toms implements functions from Algorithm 916, Transactions on Mathematical Software
|
Package toms implements functions from Algorithm 916, Transactions on Mathematical Software |