wofz | R Documentation |
Computes the Faddeeva function of a complex valued argument. This function is
\exp{-z^2}*erfc(-iz)
.
wofz(z)
z |
Argument of Faddeeva function |
Computes the Faddeeva function of a complex valued argument. This function is
\exp{-z^2}*erfc(-iz)
This function calls FORTRAN code (algorithm TOMS 680) which computes the Faddeeva function.
The Faddeeva function, w(z)
Krishna Myneni, krishna.myneni@ccreweb.org
Poppe, G.P.M. and Wijers, C.M.J. (1990) More efficient computation of the complex error function. ACM Transactions on Mathematical Software, 16, 38–46.
erf erfc
options(digits=15) wofz(0) # # Should give 1+0i # wofz(1) # # Should give 0.367879441171442+0.607157705841394i # wofz(complex(re=1, im=1)) # # Should give 0.304744205256913+0.208218938202832i #
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.