Home > Error Function > Error Function In Fortran 90

Error Function In Fortran 90

Contents

CFC computes the complex Fresnel integral C(z) and C'(z). PBWA computes parabolic cylinder functions W(a,x) and derivatives. Here is some test code - all it should do is to return the real error function for the value 1.0: Code: function erf_stegun( x ) result( erf_x ) !------------------------------------------------------------------------------ ! CH12N computes Hankel functions of first and second kinds, complex argument. useful reference

RMN2SP: prolate, oblate spheroidal radial functions, kind 2, small argument. JYNA computes Bessel functions Jn(x) and Yn(x) and derivatives. After division by n!, all the En for odd n look similar (but not identical) to each other. Related functions[edit] The error function is essentially identical to the standard normal cumulative distribution function, denoted Φ, also named norm(x) by software languages, as they differ only by scaling and translation. Get More Information

Error Function In Fortran 90

Stegun, Dover Publications, Inc., New York, 1965. ! ! SPHY computes spherical Bessel functions yn(x) and their derivatives. Derivative and integral[edit] The derivative of the error function follows immediately from its definition: d d z erf ⁡ ( z ) = 2 π e − z 2 . {\displaystyle CERZO evaluates the complex zeros of the error function.

Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. Standard:Fortran 2008 and later Class:Elemental function Syntax:RESULT = ERFC(X) Arguments: X The type shall be REAL. Source Code: specfun.f90, the source code. Inverse Error Function Fortran William Cody, An Overview of Software Development for Special Functions, in Numerical Analysis Dundee, 1975, edited by GA Watson, Lecture Notes in Mathematics, 506, Springer, 1976, LC: QA3.L28.v506.

DAW evaluates Dawson's integral function. I didn't realise that these functions aren't intrinsics. Back to top mkcolgJoined: 30 Jun 2004Posts: 6762Location: The Portland Group Inc. https://gcc.gnu.org/onlinedocs/gfortran/ERFC.html Springer-Verlag.

Routines are also available for the Gamma function, the logarithm of the Gamma function, the exponential integrals, the error function, the Psi function, and Dawson's integral. Write Fortran 90 JDZO computes the zeros of Bessel functions Jn(x) and Jn'(x). These generalised functions can equivalently be expressed for x>0 using the Gamma function and incomplete Gamma function: E n ( x ) = 1 π Γ ( n ) ( Γ Return value The return value is of type real, of the same kind as x and lies in the range −1≤erf(x)≤1-1 \leq erf (x) \leq 1 .

  • The original, true, correct (FORTRAN77) version of SPECFUN is available through NETLIB: http://www.netlib.org/specfun/index.html".
  • R8_GAMMA evaluates Gamma(X) for a real argument.
  • The error function is related to the cumulative distribution Φ {\displaystyle \Phi } , the integral of the standard normal distribution, by[2] Φ ( x ) = 1 2 + 1

Fortran 90 Function Return Array

CALJY1 computes various J1 and Y1 Bessel functions. http://www.pgroup.com/userforum/viewtopic.php?p=9753&sid=da352f43ff90da87ba9fc1137f79b573 LEGZO computes the zeros of Legendre polynomials, and integration weights. Error Function In Fortran 90 LPNI computes Legendre polynomials Pn(x), derivatives, and integrals. Gamma Function In Fortran 90 Apologies if I'm doing something silly - any advice/info would be greatly appreciated....

SPECFUN, a FORTRAN90 library which computes special functions, including Bessel I, J, K and Y functions, and the Dawson, E1, EI, Erf, Gamma, Psi/Digamma functions, by William Cody and Laura Stoltz; see here ITSH0 integrates the Struve function H0(t) from 0 to x. LCCN64-60036. CLPN computes Legendre functions and derivatives for complex argument. Error Function In Fortran 95

CALCI0 computes various I0 Bessel functions. Return value:The return value is a scalar of type REAL(*) and it is positive ( - 1 \leq erf (x) \leq 1 . H. this page CHGU computes the confluent hypergeometric function U(a,b,x).

Frank Olver, David Sookne, A Note on Backward Recurrence Algorithms, Mathematics of Computation, Volume 26, 1972, pages 941-947. Error Function Values DVSA computes parabolic cylinder functions Dv(x) for small argument. SPHI computes spherical Bessel functions in(x) and their derivatives in'(x).

KMN: expansion coefficients of prolate or oblate spheroidal functions.

CIKLV: modified Bessel functions Iv(z), Kv(z), complex argument, large order. Julia: Includes erf and erfc for real and complex arguments. BESY1 evaluates the Bessel Y1(X) function. Complementary Error Function W.

BJNDD computes Bessel functions Jn(x) and first and second derivatives. IDL: provides both erf and erfc for real and complex arguments. BESK0 evaluates the Bessel K0(X) function. Get More Info Anyway, thanks again as always Mat.....

SPHJ computes spherical Bessel functions jn(x) and their derivatives. CLPMN: associated Legendre functions and derivatives for complex argument. Negative integer values of Im(ƒ) are shown with thick red lines. specfun_prb1_output.txt, the output file.

Fortran 77 implementations are available in SLATEC. Mat, Does PGI support the F2008* erf yet? William Cody, Algorithm 665: MACHAR, a subroutine to dynamically determine machine parameters, ACM Transactions on Mathematical Software, Volume 14, Number 4, December 1988, pages 303-311. R8_ERFC evaluates the complementary error function.

RMN1 computes prolate and oblate spheroidal functions of the first kind. However, it can be extended to the disk |z| < 1 of the complex plane, using the Maclaurin series erf − 1 ⁡ ( z ) = ∑ k = 0 Softw., 19 (1): 22–32, doi:10.1145/151271.151273 ^ Zaghloul, M. Intermediate levels of Im(ƒ)=constant are shown with thin green lines.

Excel: Microsoft Excel provides the erf, and the erfc functions, nonetheless both inverse functions are not in the current library.[17] Fortran: The Fortran 2008 standard provides the ERF, ERFC and ERFC_SCALED PARI/GP: provides erfc for real and complex arguments, via tanh-sinh quadrature plus special cases. LAGZO computes zeros of the Laguerre polynomial, and integration weights. JYZO computes the zeros of Bessel functions Jn(x), Yn(x) and derivatives.

CJY01: complexBessel functions, derivatives, J0(z), J1(z), Y0(z), Y1(z). ELIT3 computes the elliptic integral of the third kind. STVLV computes the modified Struve function Lv(x) with arbitary order. FN, a FORTRAN90 library which evaluates elementary and special functions, by Wayne Fullerton.