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
Error::Overflowif |z| is too large for a finite result.Error::TotalPrecisionLossif |z| is too large for any significant digits (roughly > 10⁶ for f64).Error::ConvergenceFailureif an internal series or recurrence does not converge (rare).