pub enum EMatrixFormat {
TripletFormat,
CsrFormat0Offset,
CsrFormat1Offset,
CsrFullFormat0Offset,
CsrFullFormat1Offset,
}Expand description
Sparse matrix format that a backend wants its triplet/CSR data in.
Mirrors SparseSymLinearSolverInterface::EMatrixFormat.
Variants§
TripletFormat
Triplet (COO) of the lower triangle, 1-based indices (MA27 / MA57 / MUMPS convention).
CsrFormat0Offset
CSR of the upper triangle, 0-based indices.
CsrFormat1Offset
CSR of the upper triangle, 1-based indices.
CsrFullFormat0Offset
Full CSR (lower + upper), 0-based indices.
CsrFullFormat1Offset
Full CSR (lower + upper), 1-based indices.
Trait Implementations§
Source§impl Clone for EMatrixFormat
impl Clone for EMatrixFormat
Source§fn clone(&self) -> EMatrixFormat
fn clone(&self) -> EMatrixFormat
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 EMatrixFormat
Source§impl Debug for EMatrixFormat
impl Debug for EMatrixFormat
impl Eq for EMatrixFormat
Source§impl Hash for EMatrixFormat
impl Hash for EMatrixFormat
Source§impl PartialEq for EMatrixFormat
impl PartialEq for EMatrixFormat
Source§fn eq(&self, other: &EMatrixFormat) -> bool
fn eq(&self, other: &EMatrixFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EMatrixFormat
Auto Trait Implementations§
impl Freeze for EMatrixFormat
impl RefUnwindSafe for EMatrixFormat
impl Send for EMatrixFormat
impl Sync for EMatrixFormat
impl Unpin for EMatrixFormat
impl UnsafeUnpin for EMatrixFormat
impl UnwindSafe for EMatrixFormat
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