erf

package
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: 3 Imported by: 0

Documentation

Overview

Package erf provides the error function and related functions.

Index

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 Erf

func Erf(z complex128) complex128

Erf computes approximate values for the error 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

func Voigt

func Voigt(x float64, t float64) (float64, float64)

Voigt computes approximate values for the real and imaginary Voigt functions: https://dlmf.nist.gov/7.19 Here we use Faddeyeva to provide analytical continuation for all t in R

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

Jump to

Keyboard shortcuts

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