s17dh {NAGFWrappers} | R Documentation |
s17dh returns the value of the Airy function Bi(z) or its derivative Bi'(z) for complex z, with an option for exponential scaling.
s17dh(deriv, z, scal)
deriv |
string Specifies whether the function or its derivative is required. deriv='F': Bi(z) is returned. deriv='D': Bi'(z) is returned. |
z |
complex The argument z of the function. |
scal |
string The scaling option. scal='U': The result is returned unscaled. scal='S': The result is returned scaled by the factor e^abs(Re(2z sqrt(z) / 3)). |
R interface to the NAG Fortran routine S17DHF.
BI |
complex The required function or derivative value. |
IFAIL |
integer ifail =0unless the function detects an error or a warning has been flagged (see the Errors section in Fortran library documentation). |
NAG
http://www.nag.co.uk/numeric/FL/nagdoc_fl23/pdf/S/s17dhf.pdf
ifail<-0 deriv<-'F' z<-complex(1,0.3,0.4) scal<-'U' s17dh(deriv,z,scal)