Struct opensrdk_linear_algebra::matrix::ss::SparseMatrix
source · [−]pub struct SparseMatrix<T = f64> where
T: Number, {
pub rows: usize,
pub cols: usize,
pub elems: HashMap<(usize, usize), T>,
/* private fields */
}
Fields
rows: usize
cols: usize
elems: HashMap<(usize, usize), T>
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
type Output = SparseMatrix<T>
type Output = SparseMatrix<T>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
type Output = SparseMatrix<T>
type Output = SparseMatrix<T>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
type Output = SparseMatrix<T>
type Output = SparseMatrix<T>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
type Output = SparseMatrix<T>
type Output = SparseMatrix<T>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for SparseMatrix<T> where
T: RefUnwindSafe,
impl<T> Send for SparseMatrix<T>
impl<T> Sync for SparseMatrix<T>
impl<T> Unpin for SparseMatrix<T> where
T: Unpin,
impl<T> UnwindSafe for SparseMatrix<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more