libcerf 1.4.2

Self-contained numeric library that provides an efficient and accurate implementation of complex error functions, along with Dawson, Faddeeva, and Voigt functions.


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Build Status libcerf

Self-contained numeric library that provides an efficient and accurate implementation of complex error functions, along with Dawson, Faddeeva, and Voigt functions.

Functions:
  • erf (complex)
  • erfc (complex)
  • erfcx (both)
  • erfi (both)
  • dawson (both)
  • voigt
  • fadeeva (complex)
  • fadeevaIm (double)
Example:
import std.complex, std.math;
import libcerf;

auto c = erfi(complex(1.0, 0.0));
auto f = erfi(1.0);

assert(fabs((c.re - f)/f) < 1e-13);

Authors:Steven G. Johnson, Joachim Wuttke, Ilya Yaroshenko

Dependencies: none

Versions:
1.4.2 2017-Jun-05
1.4.1 2015-Aug-13
1.4.0 2014-Sep-21
~master 2017-Jun-05
~John-Colvin-patch-2 2017-Jul-06
Show all 6 versions
Stats:

statistics are temporarily disabled.