Package org.ejml.data
Interface ReshapeMatrix
- All Superinterfaces:
Matrix,Serializable
- All Known Subinterfaces:
DMatrixSparse,FMatrixSparse,MatrixSparse
- All Known Implementing Classes:
BMatrixRMaj,CMatrixD1,CMatrixRMaj,DMatrix1Row,DMatrixD1,DMatrixRBlock,DMatrixRMaj,DMatrixSparseCSC,DMatrixSparseTriplet,FMatrix1Row,FMatrixD1,FMatrixRBlock,FMatrixRMaj,FMatrixSparseCSC,FMatrixSparseTriplet,ZMatrixD1,ZMatrixRMaj
Matrix which can be reshaped
-
Method Summary
Modifier and TypeMethodDescriptionvoidreshape(int numRows, int numCols) Equivalent to invoking reshape(numRows,numCols,false);Methods inherited from interface org.ejml.data.Matrix
copy, create, createLike, getNumCols, getNumRows, getType, print, print, setTo, zero
-
Method Details
-
reshape
void reshape(int numRows, int numCols) Equivalent to invoking reshape(numRows,numCols,false);- Parameters:
numRows- The new number of rows in the matrix.numCols- The new number of columns in the matrix.
-