#[repr(i32)]pub enum MatrixType {
RealStructurallySymmetric = 1,
RealSymmetricPositiveDefinite = 2,
RealSymmetricIndefinite = -2,
ComplexStructurallySymmetric = 3,
ComplexHermitianPositiveDefinite = 4,
ComplexHermitianIndefinite = -4,
ComplexSymmetric = 6,
RealNonsymmetric = 11,
ComplexNonsymmetric = 13,
}
Variants§
RealStructurallySymmetric = 1
RealSymmetricPositiveDefinite = 2
RealSymmetricIndefinite = -2
ComplexStructurallySymmetric = 3
ComplexHermitianPositiveDefinite = 4
ComplexHermitianIndefinite = -4
ComplexSymmetric = 6
RealNonsymmetric = 11
ComplexNonsymmetric = 13
Implementations§
Source§impl MatrixType
impl MatrixType
pub fn is_real(&self) -> bool
pub fn is_complex(&self) -> bool
pub fn is_symmetric(&self) -> bool
pub fn is_hermitian(&self) -> bool
Trait Implementations§
Source§impl Clone for MatrixType
impl Clone for MatrixType
Source§fn clone(&self) -> MatrixType
fn clone(&self) -> MatrixType
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 MatrixType
impl Debug for MatrixType
Source§impl Default for MatrixType
impl Default for MatrixType
Source§fn default() -> MatrixType
fn default() -> MatrixType
Returns the “default value” for a type. Read more
Source§impl Display for MatrixType
impl Display for MatrixType
impl Copy for MatrixType
Auto Trait Implementations§
impl Freeze for MatrixType
impl RefUnwindSafe for MatrixType
impl Send for MatrixType
impl Sync for MatrixType
impl Unpin for MatrixType
impl UnwindSafe for MatrixType
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more