libcerf ~master

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, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

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-Oct-28
~John-Colvin-patch-2 2017-Jul-06
Show all 6 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 1 downloads this month

  • 243 downloads total

Score:
0.9
Short URL:
libcerf.dub.pm