Using Errorf in IDL [message #8963] |
Tue, 20 May 1997 00:00  |
karl
Messages: 2 Registered: April 1997
|
Junior Member |
|
|
I recently tried to feed a complex argument to Errorf, but it would have
none of it. With Mathematica you get a complex numerical result
if you feed Erf a complex numerical argument. I assume Mathematica is
calculating the principal value of the integral or something like
that. So my basic question is, how can I do the same thing most
efficiently in IDL? (If I have to I can numerically integrate
Fresnel integral euivalents or something else equally disgusting
but I'm praying for something simple) Perhaps just as useful
would be if somebody could give me a form for A(a,b),B(a,b) in:
A + iB = Erf(a + ib)
Thanks for any tips,
-- KY
------------------------------------------------------------ -------
Karl Young Phone: (415) 750-2158 lab
UCSF (415) 750-9463 home
VA Medical Center, MRS Unit (114M) FAX: (415) 668-2864
4150 Clement Street Email:karl@gojira.berkeley.edu
San Francisco, CA 94121
------------------------------------------------------------ -------
|
|
|