There is an updated version of my package (http://ab-initio.mit.edu/Faddeeva) which computes not only the Faddeeva function (the scaled complex error function) but also the ordinary erf and erfc functions of complex arguments, as well as the erfcx and erfi variants and the Dawson function (a scaled erfi).
This should make it relatively painless to drop it in as a replacement for the Octave erf and erfc functions in order to support complex arguments. I would also strongly recommend providing user-callable interfaces for the erfcx, erfi, Dawson, and Faddeeva functions as well. (The scaled variants are especially important to work with error functions in the regimes where they are exponentially small or large, in order to avoid overflow/underflow limitations.) Let me know if there is anything else I can do to help. Steven ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev