libcerf ~John-Colvin-patch-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, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
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);
Links
- D source code on GitHub
- Original Faddeeva Package
- Original C source code
- Registered by Ilia Ki
- ~John-Colvin-patch-2 released 7 years ago
- DlangScience/libcerf
- github.com/9il/libcerf
- Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
- Copyright © 2012 Massachusetts Institute of Technology, © 2013 Forschungszentrum Jülich GmbH, © 2014 Ilya Yaroshenko
- Authors:
- 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 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
243 downloads total
-
- Score:
- 1.1
- Short URL:
- libcerf.dub.pm