Skip to main content

biryprime_scaled

Function biryprime_scaled 

Source
pub fn biryprime_scaled<T: BesselFloat>(
    z: Complex<T>,
) -> Result<Complex<T>, Error>
Expand description

Scaled derivative of the Airy function of the second kind, exp(−|Re(ζ)|) · Bi’(z), where ζ = (2/3) z√z.

Bi’(z) grows super-exponentially for large positive real z, just as Bi(z) does. The scaling factor exp(−|Re(ζ)|) keeps the result representable.

See crate-level docs for the full scaling table.

§Example

use complex_bessel::biryprime_scaled;
use num_complex::Complex;

let z = Complex::new(5.0_f64, 0.0);
let bi_s = biryprime_scaled(z).unwrap();
assert!((bi_s.re - 0.8319).abs() < 1e-3); // exp(-|Re(ζ)|) * Bi'(5) ≈ 0.8319

§Errors