From: Brian Jackel Newsgroups: sci.math.num-analysis Subject: Re: Error Function in complex argument... Date: Wed, 02 Dec 1998 10:13:04 -0700 Man J wrote: > I want to calculate the value of a error function in complex argument... > i.e. w(z) = exp(-z*z) * erfc( -i*z) where z is a complex number, > i is square root of -1 > erfc( -i*z ) = 1 - erf( -i*z ) Algorithms for this can be found in "Efficient computation of the complex error function" Walter Gautschi SIAM J. Numer. Anal. 1970 Vol. 7, No. 1, 187-198 and "Computation of the complex error function" J.A.C. Weideman SIAM J. Numer. Anal. 1994 Vol. 31, No. 5, pp 1497-1518 where the latter also gives a short Matlab program. Hope this helps you. -- Brian Jackel