s18gk {NAGFWrappers}R Documentation

s18gk: Bessel function of the 1st kind J_alpha +/- n(z)

Description

s18gk returns a sequence of values for the Bessel functions J_α + n - 1(z) or J_α - n + 1(z) for complex z, non-negative α < 1 and n = 1 , 2 , . . . , abs(N) + 1.

Usage

s18gk(z, a, nl)

Arguments

z

complex

The argument z of the function.

a

double

The order α of the first member in the required sequence of function values.

nl

integer

The value of N.

Details

R interface to the NAG Fortran routine S18GKF.

Value

B

complex array

With ifail =0, ifail =3, the required sequence of function values: b[n] contains J_α + n - 1(z) if nl >= 0 and J_α - n + 1(z) otherwise for n=1 . . . abs(nl)+1.

IFAIL

integer

ifail =0

unless the function detects an error or a warning has been flagged (see the Errors section in Fortran library documentation).

Author(s)

NAG

References

http://www.nag.co.uk/numeric/FL/nagdoc_fl23/pdf/S/s18gkf.pdf

Examples


ifail<-0

z<-complex(1,0.6,-0.8)

a<-0

nl<-3

s18gk(z,a,nl)


[Package NAGFWrappers version 24.0 Index]