pub enum RecommendedFormat {
Csr,
Ell,
Bsr,
Csr5,
}Expand description
Recommended sparse matrix format for SpMV.
Variants§
Csr
General CSR: good default for irregular sparsity.
Ell
ELLPACK: best for matrices with regular row lengths (similar nnz/row).
Bsr
Block Sparse Row: best when dense sub-blocks are detected.
Csr5
CSR5: best for highly irregular row lengths (extreme max/avg ratio).
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 (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 RecommendedFormat
Source§impl Debug for RecommendedFormat
impl Debug for RecommendedFormat
Source§impl Display for RecommendedFormat
impl Display for RecommendedFormat
impl Eq for RecommendedFormat
Source§impl Hash for RecommendedFormat
impl Hash for RecommendedFormat
Source§impl PartialEq for RecommendedFormat
impl PartialEq for RecommendedFormat
Source§fn eq(&self, other: &RecommendedFormat) -> bool
fn eq(&self, other: &RecommendedFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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