Skip to main content

biryprime_raw

Function biryprime_raw 

Source
pub fn biryprime_raw<T: BesselFloat>(
    z: Complex<T>,
    scaling: Scaling,
) -> Result<AiryResult<T>, Error>
Expand description

Derivative of the Airy function of the second kind Bi’(z) with accuracy status.

Like biryprime, but returns an AiryResult that includes an Accuracy status:

The scaling parameter selects Scaling::Unscaled or Scaling::Exponential; see crate-level docs for details.

§Example

use complex_bessel::*;
use num_complex::Complex;

let z = Complex::new(0.0_f64, 0.0);
let result = biryprime_raw(z, Scaling::Unscaled).unwrap();
assert!((result.value.re - 0.4483).abs() < 1e-3); // Bi'(0) ≈ 0.4483
assert!(matches!(result.status, Accuracy::Normal));

§Errors