The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 imaginary error finction erfi(x) available?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

kfauth

Germany
33 Posts

Posted - 09/21/2005 :  08:52:09 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 5.0 / 7.5
Operating System: XP

I need to use the imaginary error function in fitting routines. As far as I can see, it is not available in origin/labtalk/originC. It is defined as erfi(z)= -i*erf(iz), and on the real axis it delivers real values according to erfi(x)= (2/sqrt(pi))*integr(exp(t^2) dt).
the limits of the integral extend from zero to x.

What would be the best way to make the function available for use? (Origin 5.0 preferred for compatibility with older scripts, but am of course willing to tune up to O7.5 if necessary)

Many thanks,
Kai

Leo_Li

China
Posts

Posted - 09/23/2005 :  06:33:47 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello Kai,

In your definition, z is a pure imaginary number? otherwise, the erfi(z) function involves an integration from zero to a complex number...

Leo

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000