pub struct SpmvConfig {
pub parallel: bool,
pub alpha: f64,
}Expand description
SpMV configuration.
Fields§
§parallel: boolUse parallel implementation.
alpha: f64Alpha scaling factor (y = alpha * A * x).
Implementations§
Source§impl SpmvConfig
impl SpmvConfig
Trait Implementations§
Source§impl Clone for SpmvConfig
impl Clone for SpmvConfig
Source§fn clone(&self) -> SpmvConfig
fn clone(&self) -> SpmvConfig
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 SpmvConfig
impl Debug for SpmvConfig
Auto Trait Implementations§
impl Freeze for SpmvConfig
impl RefUnwindSafe for SpmvConfig
impl Send for SpmvConfig
impl Sync for SpmvConfig
impl Unpin for SpmvConfig
impl UnwindSafe for SpmvConfig
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