Trait nyx_space::linalg::storage::ContiguousStorageMut [−][src]
pub unsafe trait ContiguousStorageMut<T, R, C = Const<1_usize>>: ContiguousStorage<T, R, C> + StorageMut<T, R, C> where
T: Scalar,
R: Dim,
C: Dim, { }
Expand description
A mutable matrix storage that is stored contiguously in memory.
The storage requirement means that for any value of i
in [0, nrows * ncols - 1]
, the value
.get_unchecked_linear
returns one of the matrix component. This trait is unsafe because
failing to comply to this may cause Undefined Behaviors.