Enum newton_rootfinder::errors::SolverInternalError [−][src]
pub enum SolverInternalError<M, D> where
M: Model<D>,
D: Dim,
DefaultAllocator: Allocator<f64, D>,
DefaultAllocator: Allocator<f64, D, D>, {
InvalidJacobianError(ModelError<M, D>),
InvalidJacobianInverseError,
}
Expand description
Errors for solver control flow
These error are not exposed directly to the API
Variants
InvalidJacobianError(ModelError<M, D>)
Tuple Fields of InvalidJacobianError
0: ModelError<M, D>
Trait Implementations
impl<M, D> Debug for SolverInternalError<M, D> where
M: Model<D>,
D: Dim,
DefaultAllocator: Allocator<f64, D>,
DefaultAllocator: Allocator<f64, D, D>,
impl<M, D> Debug for SolverInternalError<M, D> where
M: Model<D>,
D: Dim,
DefaultAllocator: Allocator<f64, D>,
DefaultAllocator: Allocator<f64, D, D>,
Auto Trait Implementations
impl<M, D> RefUnwindSafe for SolverInternalError<M, D> where
<M as Model<D>>::InaccurateValuesError: RefUnwindSafe,
<M as Model<D>>::UnusableValuesError: RefUnwindSafe,
impl<M, D> Send for SolverInternalError<M, D> where
<M as Model<D>>::InaccurateValuesError: Send,
<M as Model<D>>::UnusableValuesError: Send,
impl<M, D> Sync for SolverInternalError<M, D> where
<M as Model<D>>::InaccurateValuesError: Sync,
<M as Model<D>>::UnusableValuesError: Sync,
impl<M, D> Unpin for SolverInternalError<M, D> where
<M as Model<D>>::InaccurateValuesError: Unpin,
<M as Model<D>>::UnusableValuesError: Unpin,
impl<M, D> UnwindSafe for SolverInternalError<M, D> where
<M as Model<D>>::InaccurateValuesError: UnwindSafe,
<M as Model<D>>::UnusableValuesError: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.