Julia wrapper for libcerf.
libcerf, a self-contained numeric library that provides an efficient and accurate implementation of complex error functions, along with Dawson, Faddeeva, and Voigt functions.
using Pkg; Pkg.add("LibCerf")Or using Pkg REPL mode:
]add LibCerfPlease refer to the documentation for details.
NOTE: erf, erfc, and faddeeva_w only support complex arguments.
erf(z): Complex error functionerfc(z): Complementary error functionerfcx(z),erfcx(x): Underflow-compensated complementary error functionerfi(z),erfi(x): Imaginary error function
faddeeva_w(z): Faddeeva's scaled complex error functionim_w(x): Imaginary part offaddeeva_w(complex(x, 0.0))im_w(re, im): Imaginary part offaddeeva_w(complex(re, im))re_w(re, im): Real part offaddeeva_w(complex(re, im))
dawson(z),dawson(x): Dawson's integral
voigt(x, sigma, gamma): Voigt's convolution of a Gaussian and a Lorentzianvoigt_hwhm(sigma, gamma): Half width at half maximum of the Voigt profile
- (MIT) JuliaMath/SpecialFunctions.jl:
provides a comprehensive collection of special functions based on
the OpenSpecFun and OpenLibm libraries.
For real and complex arguments:erf(z),erfc(z),erfcx(z),erfi(z);faddeeva(z);dawson(z);
Also note that it also uses the Faddeeva C library. - (GPL-3.0) JuliaMath/GSL.jl:
Julia interface to the GNU Scientific Library (GSL).
For real arguments ONLY:sf_erf(x),sf_erfc(x);sf_dawson(x) - (GPL-3.0) markmbaum/Faddeyeva985.jl:
Julia implementation of Algorithm 985, a fast, moderate-accuracy approximation
of the Faddeyeva (Faddeeva) function.
faddeyeva(z)
# SPDX-License-Identifier: MITThis project is licensed under the terms of the MIT license.
NOTE: mlz/libcerf is licensed under the terms of the
MIT license