pub enum TensorError {
NotPositiveDefinite,
SymmetricMatrixComplexEigenvalues,
}Expand description
Possible errors for tensors.
Variants§
Trait Implementations§
Source§impl Debug for TensorError
impl Debug for TensorError
Source§impl Display for TensorError
impl Display for TensorError
Source§impl From<TensorError> for ConstitutiveError
impl From<TensorError> for ConstitutiveError
Source§fn from(error: TensorError) -> Self
fn from(error: TensorError) -> Self
Converts to this type from the input type.
Source§impl From<TensorError> for AssertionError
impl From<TensorError> for AssertionError
Source§fn from(error: TensorError) -> Self
fn from(error: TensorError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TensorError
impl PartialEq for TensorError
Source§fn eq(&self, other: &TensorError) -> bool
fn eq(&self, other: &TensorError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TensorError
Auto Trait Implementations§
impl Freeze for TensorError
impl RefUnwindSafe for TensorError
impl Send for TensorError
impl Sync for TensorError
impl Unpin for TensorError
impl UnsafeUnpin for TensorError
impl UnwindSafe for TensorError
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