Trait dense_mats::DenseMatViewMut [] [src]

pub trait DenseMatViewMut<N>: DenseMatView<N> {
    fn data_mut(&mut self) -> &mut [N];
}

A mutable view into a dense matrix

Required Methods

fn data_mut(&mut self) -> &mut [N]

Mutable access to the matrix's data

Getting access to the element located at row i and column j can be done by indexing self.data() at the location computed by i * strides[0] + j * strides[1]

Implementors