On Thu, Jun 21, 2012 at 4:05 AM, Ximing Wu <wuximing05 at gmail.com> wrote:
> Dear all,
>
> I would really appreciate any hint about this. Is there a formula to
> calculate the inverse of the imaginary error function, defined as
>
> erfi(x) = 2/sqrt(\pi) int _0 ^x exp (t^2) dt
>
>
Do you mean if maxima can calculate this or if there's a formula to
calculate it?
Anyway, Maxima does know how to compute values of erfi. The algorithm used
by maxima appears to be erfi(z) = -%i*erf(%i*z) and the code to compute erf
is in src/gamma.lisp.
Ray