pub enum IntegrationError {
MaxSubdivisions {
subdivisions: usize,
error_estimate: f64,
},
RoundoffDetected,
InvalidValue {
x: f64,
},
InvalidInput(String),
}Expand description
Errors that can occur during numerical integration.
Variants§
MaxSubdivisions
Maximum subdivisions reached without achieving tolerance.
RoundoffDetected
Roundoff error detected.
InvalidValue
Integrand returned NaN or infinity.
InvalidInput(String)
Bad input (e.g., a >= b for finite interval).
Trait Implementations§
Source§impl Clone for IntegrationError
impl Clone for IntegrationError
Source§fn clone(&self) -> IntegrationError
fn clone(&self) -> IntegrationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntegrationError
impl Debug for IntegrationError
Source§impl Display for IntegrationError
impl Display for IntegrationError
Source§impl From<IntegrationError> for NumraError
impl From<IntegrationError> for NumraError
Source§fn from(e: IntegrationError) -> Self
fn from(e: IntegrationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IntegrationError
impl PartialEq for IntegrationError
Source§fn eq(&self, other: &IntegrationError) -> bool
fn eq(&self, other: &IntegrationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IntegrationError
Auto Trait Implementations§
impl Freeze for IntegrationError
impl RefUnwindSafe for IntegrationError
impl Send for IntegrationError
impl Sync for IntegrationError
impl Unpin for IntegrationError
impl UnsafeUnpin for IntegrationError
impl UnwindSafe for IntegrationError
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