pub enum RecommendedFormat {
Csr,
Csc,
Dia,
Ell,
Hyb,
Sell,
Bsr,
Bsc,
}Expand description
Recommended sparse matrix format based on sparsity analysis.
Variants§
Csr
CSR: General purpose, good for row-wise operations.
Csc
CSC: Good for column-wise operations and direct solvers.
Dia
DIA: Optimal for banded/diagonal matrices.
Ell
ELL: Good for matrices with uniform row lengths.
Hyb
HYB: Good for matrices with mostly uniform rows but some outliers.
Sell
SELL: Good for GPU computation with variable row lengths.
Bsr
BSR: Good for block-structured matrices.
Bsc
BSC: Good for column-oriented block-structured matrices.
Trait Implementations§
Source§impl Clone for RecommendedFormat
impl Clone for RecommendedFormat
Source§fn clone(&self) -> RecommendedFormat
fn clone(&self) -> RecommendedFormat
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 RecommendedFormat
impl Debug for RecommendedFormat
Source§impl PartialEq for RecommendedFormat
impl PartialEq for RecommendedFormat
impl Copy for RecommendedFormat
impl Eq for RecommendedFormat
impl StructuralPartialEq for RecommendedFormat
Auto Trait Implementations§
impl Freeze for RecommendedFormat
impl RefUnwindSafe for RecommendedFormat
impl Send for RecommendedFormat
impl Sync for RecommendedFormat
impl Unpin for RecommendedFormat
impl UnwindSafe for RecommendedFormat
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