Struct nalgebra_sparse::csc::CscColMut [−][src]
pub struct CscColMut<'a, T> { /* fields omitted */ }
Expand description
A mutable representation of a column in a CSC matrix.
Note that only explicitly stored entries can be mutated. The sparsity pattern belonging to the column cannot be modified.
Implementations
The row indices corresponding to explicitly stored entries in this column.
The values corresponding to explicitly stored entries in this column.
Returns an entry for the given global row index.
Each call to this function incurs the cost of a binary search among the explicitly stored row entries.
Mutable access to the values corresponding to explicitly stored entries in this column.
Provides simultaneous access to row indices and mutable values corresponding to the explicitly stored entries in this column.
This method primarily facilitates low-level access for methods that process data stored in CSC format directly.
Returns a mutable entry for the given global row index.
Trait Implementations
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for CscColMut<'a, T> where
T: RefUnwindSafe,
impl<'a, T> !UnwindSafe for CscColMut<'a, T>
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.