pub enum Scaling {
Unscaled,
Exponential,
}Expand description
Scaling option for Bessel and Airy function computation.
When Exponential is selected, the result is
multiplied by an exponential factor to prevent overflow or underflow.
The factor depends on the function type:
- J, Y: exp(−|Im(z)|)
- I: exp(−|Re(z)|)
- K: exp(z)
- H(1): exp(−iz)
- H(2): exp(iz)
- Ai, Ai′: exp(ζ)
- Bi, Bi′: exp(−|Re(ζ)|)
where ζ = (2/3) · z · √z.
Variants§
Trait Implementations§
impl Copy for Scaling
impl Eq for Scaling
impl StructuralPartialEq for Scaling
Auto Trait Implementations§
impl Freeze for Scaling
impl RefUnwindSafe for Scaling
impl Send for Scaling
impl Sync for Scaling
impl Unpin for Scaling
impl UnsafeUnpin for Scaling
impl UnwindSafe for Scaling
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more