Trait nalgebra::base::storage::ReshapableStorage [−][src]
pub trait ReshapableStorage<N, R1, C1, R2, C2>: Storage<N, R1, C1> where
N: Scalar,
R1: Dim,
C1: Dim,
R2: Dim,
C2: Dim, { type Output: Storage<N, R2, C2>; fn reshape_generic(self, nrows: R2, ncols: C2) -> Self::Output; }
Expand description
A matrix storage that can be reshaped in-place.
Associated Types
Required methods
fn reshape_generic(self, nrows: R2, ncols: C2) -> Self::Output
fn reshape_generic(self, nrows: R2, ncols: C2) -> Self::Output
Reshapes the storage into the output storage type.