Compute erfcx(x) = exp(x^2) erfc(x) function, for real x, using a novel algorithm that is much faster than DERFC of SLATEC. This function is used in the computation of Faddeeva, Dawson, and other complex error functions.
This function combines a few different ideas.
See Source File
Steven G. Johnson, core author; Joachim Wuttke, C package maintainer; Ilya Yaroshenko, D package maintainer
© 2012 Massachusetts Institute of Technology, © 2013 Forschungszentrum Jülich GmbH, © 2014 Ilya Yaroshenko
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Compute erfcx(x) = exp(x^2) erfc(x) function, for real x, using a novel algorithm that is much faster than DERFC of SLATEC. This function is used in the computation of Faddeeva, Dawson, and other complex error functions.