pub enum AffineRemlError {
Show 18 variants
EmptyModes,
EmptyResponses,
ShapeMismatch {
gram_modes: usize,
penalty_modes: usize,
projected_rhs_squared: usize,
responses: usize,
},
InvalidMode {
index: usize,
gram: f64,
penalty: f64,
},
InvalidProjectedSquare {
index: usize,
value: f64,
},
InvalidResponseEnergy {
output: usize,
value: f64,
},
ZeroLambdaResidualUnavailable {
output: usize,
},
InvalidResidualDof {
value: f64,
},
InvalidLogdetConstant {
value: f64,
},
RankMismatch {
supplied: usize,
inferred: usize,
},
InvalidLogLambda {
value: f64,
},
InvalidLogLambdaInterval {
lo: f64,
hi: f64,
},
ElementaryEnclosureUnavailable {
function: &'static str,
lo: f64,
hi: f64,
},
NonPositiveMode {
index: usize,
log_lambda: f64,
value: f64,
},
NonPositiveResidual {
output: usize,
log_lambda: f64,
value: f64,
},
NonPositiveResidualInterval {
output: usize,
lo: f64,
hi: f64,
lower_bound: f64,
},
InconsistentResidualEnclosures {
output: usize,
lo: f64,
hi: f64,
direct: ClosedInterval,
complement: ClosedInterval,
},
UnboundedScoreEvaluationError {
lo: f64,
hi: f64,
error: f64,
},
}Expand description
Static validation or evaluation failure for AffineRemlProfile.
Variants§
EmptyModes
EmptyResponses
ShapeMismatch
InvalidMode
InvalidProjectedSquare
InvalidResponseEnergy
InvalidResidualDof
InvalidLogdetConstant
RankMismatch
InvalidLogLambda
InvalidLogLambdaInterval
NonPositiveMode
NonPositiveResidual
NonPositiveResidualInterval
InconsistentResidualEnclosures
UnboundedScoreEvaluationError
Trait Implementations§
Source§impl Clone for AffineRemlError
impl Clone for AffineRemlError
Source§fn clone(&self) -> AffineRemlError
fn clone(&self) -> AffineRemlError
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 moreimpl Copy for AffineRemlError
Source§impl Debug for AffineRemlError
impl Debug for AffineRemlError
Source§impl Display for AffineRemlError
impl Display for AffineRemlError
Source§impl Error for AffineRemlError
impl Error for AffineRemlError
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 AffineRemlError
impl PartialEq for AffineRemlError
impl StructuralPartialEq for AffineRemlError
Auto Trait Implementations§
impl Freeze for AffineRemlError
impl RefUnwindSafe for AffineRemlError
impl Send for AffineRemlError
impl Sync for AffineRemlError
impl Unpin for AffineRemlError
impl UnsafeUnpin for AffineRemlError
impl UnwindSafe for AffineRemlError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.