[−][src]Type Definition nalgebra::base::DMatrix
type DMatrix<N> = MatrixN<N, Dynamic>;
A dynamically sized column-major matrix.
Methods
impl<N: Scalar> DMatrix<N>
[src]
pub fn resize_mut(&mut self, new_nrows: usize, new_ncols: usize, val: N) where
DefaultAllocator: Reallocator<N, Dynamic, Dynamic, Dynamic, Dynamic>,
[src]
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
.