spherical_radial

Function spherical_radial 

Source
pub fn spherical_radial(l: u32, z: Complex, radial: Radial) -> Result<RadialJet>
Expand description

Evaluate a spherical radial function and its first two derivatives: j_l for regular and h1_l for singular waves.

The regular solution uses its convergent power series near zero; away from zero, complex Bessel evaluation and the spherical differential equation apply. Singular (outgoing) waves fail at zero; near it, where the value or a derivative overflows, they fail with an overflow error.

Upstream: treams.special.spherical_jn and spherical_hankel1 with their _d derivatives.