pub enum IntegrationError {
InvalidStencil {
r: usize,
},
NonIncreasingBounds {
a: f64,
b: f64,
},
NonPositiveInformation {
info: f64,
},
NonPositivePreviousInformation {
info_prev: f64,
},
NonIncreasingInformation {
info_prev: f64,
info: f64,
},
ShapeMismatch {
points: usize,
weights: usize,
values: Option<usize>,
},
}Expand description
Error type reported by numerical integration routines.
Variants§
InvalidStencil
The Simpson stencil requires r to be at least two.
NonIncreasingBounds
The interval bounds must satisfy a < b.
NonPositiveInformation
Fisher information must be strictly positive.
NonPositivePreviousInformation
Previous Fisher information must be strictly positive.
NonIncreasingInformation
Current Fisher information must exceed the previous analysis value.
Fields
ShapeMismatch
Stored grid metadata is inconsistent.
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 · 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 Error for IntegrationError
impl Error for IntegrationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for IntegrationError
impl PartialEq for IntegrationError
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 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