Error Function Inverse Fortran
Contents |
type shall error function in fortran 90 be REAL. Return value:The return value is of type REAL, of the same kind
Error Function Inverse Calculator
as X and lies in the range -1 \leq erf (x) \leq 1 . Example: program test_erf real(8) :: x = 0.17_8 x = erf(x) end program test_erf Specific names: Name Argument Return type Standard DERF(X) REAL(8) X REAL(8) GNU extension
Package: Gamma / Log fortran normal distribution Gamma / Complex Gamma / Complex Log Gamma /
Matrix Multiplication Fortran
Error / Complex Error Function in Single / Double / Quadruple Precision gamerf2a.doc : Document of https://gcc.gnu.org/onlinedocs/gfortran/ERF.html "gamerf2a.f" (Japanese) gamedat2.lzh : Function Data of "gamerf2a.f" mathplus.h : Macros of Gamma / Error Functions cdgamma.c : Complex Gamma Function in C cdgamma.f : Complex Gamma Function in Fortran dcbrt.c http://www.kurims.kyoto-u.ac.jp/~ooura/gamerf.html : Cubic Root Function in C dcbrt.f : Cubic Root Function in Fortran derf.c : Error Function "erf(x)" in C derf.f : Error Function "erf(x)" in Fortran derfc.c : Error Function "erfc(x)" in C derfc.f : Error Function "erfc(x)" in Fortran dierfc.c : Inverse of Error Function "erfc^{-1}(x)" in C dierfc.f : Inverse of Error Function "erfc^{-1}(x)" in Fortran dgamma.c : Gamma Function in C dgamma.f : Gamma Function in Fortran dlgamma.c : Log Gamma Function in C dlgamma.f : Log Gamma Function in Fortran readme.txt : readme file Main Page
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us http://stackoverflow.com/questions/5971830/need-code-for-inverse-error-function Learn more about Stack Overflow the company Business Learn more about hiring developers https://www.iram.fr/computer/wiki/widex/index.php/Inverse_Error_Function or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Need code for Inverse Error Function up error function vote 5 down vote favorite 4 Does anyone know where I could find code for the "Inverse Error Function?" Freepascal/Delphi would be preferable but C/C++ would be fine too. The TMath/DMath library did not have it :( delphi math pascal share|improve this question asked May 11 '11 at 23:46 Mike Furlender 1,51922052 do you mean inverse erf? –soandos May 11 '11 at 23:47 error function in Do you refer to erfinv? –David Heffernan May 12 '11 at 0:02 @soandosDavid Yup thats what I'm talking about –Mike Furlender May 12 '11 at 0:07 1 If you can find fortran code convert it to c with f2c -a . If you can find c code great. Compile the c with bcc32 and link with $L that's how I always do it! –David Heffernan May 12 '11 at 0:10 This is a really nifty piece of math. If you find an implementation, I'll make sure it gets added to JEDI Math. It's planned for JEDI Math library in the future, but it looks like it's not in there yet! –Warren P May 12 '11 at 1:49 | show 1 more comment 7 Answers 7 active oldest votes up vote 4 down vote accepted Here's an implementation of erfinv(). Note that for it to work well, you also need a good implementation of erf(). function erfinv(const y: Double): Double; //rational approx coefficients const a: array [0..3] of Double = ( 0.886226899, -1.645349621, 0.914624893, -0.140543331); b: array [0..3] of Double = (-2.118377725, 1.442710462, -0.329097515, 0.012229801); c: array [0..3] of Double = (-1.970840454, -1.624906493, 3.4295678
missing. Despite inverf can be expressed directly with series, we can not use this serie evalution because it is slow and lack of precision. Therefore, I found another implementation based on rational function approximation. It is quicker and more precise than the previous implementation from the old correlator. Original implementation in Fortan Code (look for MERFI subroutine) --Blanchet 17:50, 17 March 2008 (CET) Retrieved from "https://www.iram.fr/computer/wiki/widex/index.php/Inverse_Error_Function" Views Article Discussion View source History Personal tools Log in / create account Navigation Main Page Community portal Current events Recent changes Random page Help Search Toolbox What links here Related changes Upload file Special pages Printable version Permanent link This page was last modified 16:50, 17 March 2008. This page has been accessed 11,158 times. Privacy policy About Widex Wiki Disclaimers