vswf.sbf: Calculation of Spherical Bessel Functions.

Description Usage Arguments Details Value See Also Examples

Description

Calculation of Spherical Bessel Functions.

Usage

1
vswf.sbf(lmax, xo, compare = FALSE, verbose = FALSE)

Arguments

lmax

The maximum value of l.

xo

The argument of j_l. Can be real or complex.

compare

Make the comparison with the GSL (Gnu Scientific Library).

verbose

Shows the normalizations on downward recurrence.

Details

We use Lentz method for calculating the starting value j_lmax(x)=bo+(a1/b1+)(a2/b2+)(a3/b3+)...(an/bn), and then we use downward recurrence to calculate the other values, from lmax-1 to 0.

Value

An array with the Spherical Bessel functions and its derivatives.

See Also

bess.sph, bess.cyl, bess.ric, bess.czr, bess.cun, bess.szr, bess.sun.

Examples

1
vswf.sbf(5,3,compare=TRUE)

wendellopes/rvswf documentation built on May 4, 2019, 4:19 a.m.