Evaluates w(z), the Faddeeva function.
A scalar or series, the integration limit.
A scalar or series, the value of exp(z-2) erfc
returns 0.367879 + 0.607158i, the value of:
exp(-1) * erfc(-i)
returns 0.427584 + 0.000000i.
faddeeva((-2..0.01..2) * i);
returns 401 samples of w(x).
W1: (-2..0.01..2) * i
W3: exp(-(w1 * w1)) * erfc(-i * w1)
W2 contains the Faddeeva function and W3 computes the same function using
The Faddeeva function, w(z), is defined as:
The input z may be complex.
The real and imaginary parts are decomposed as:
where V and L are the real and imaginary Voigt functions.
FADDEEVA is computed based on an algorithm developed by Steven G. Johnson.
The Faddeeva function is closely related to the DAWSON Integral.