#[non_exhaustive]pub enum VecRule {
GaussKronrod21,
GaussKronrod15,
Trapezoid,
}Expand description
The local rule applied to each subinterval.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GaussKronrod21
21-point Gauss-Kronrod (SciPy’s default on finite intervals).
GaussKronrod15
15-point Gauss-Kronrod (SciPy’s default after mapping an infinite interval).
Trapezoid
The trapezoid rule with a Richardson error estimate, for non-smooth integrands.
Trait Implementations§
impl Copy for VecRule
impl Eq for VecRule
impl StructuralPartialEq for VecRule
Auto Trait Implementations§
impl Freeze for VecRule
impl RefUnwindSafe for VecRule
impl Send for VecRule
impl Sync for VecRule
impl Unpin for VecRule
impl UnsafeUnpin for VecRule
impl UnwindSafe for VecRule
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