Type Definition nalgebra::base::DMatrix [−][src]
pub type DMatrix<N> = Matrix<N, Dynamic, Dynamic, Owned<N, Dynamic, Dynamic>>;
Expand description
A dynamically sized column-major matrix.
Because this is an alias, not all its methods are listed here. See the Matrix
type too.
Implementations
pub fn resize_mut(&mut self, new_nrows: usize, new_ncols: usize, val: N) where
DefaultAllocator: Reallocator<N, Dynamic, Dynamic, Dynamic, Dynamic>,
pub fn resize_mut(&mut self, new_nrows: usize, new_ncols: usize, val: N) where
DefaultAllocator: Reallocator<N, Dynamic, Dynamic, Dynamic, Dynamic>,
Resizes this matrix in-place.
The values are copied such that self[(i, j)] == result[(i, j)]
. If the result has more
rows and/or columns than self
, then the extra rows or columns are filled with val
.
Defined only for owned fully-dynamic matrices, i.e., DMatrix
.