org.ejml.data
Interface Matrix
-
- All Superinterfaces:
- java.io.Serializable
- All Known Subinterfaces:
- ComplexMatrix64F, FixedMatrix64F, RealMatrix32F, RealMatrix64F, ReshapeMatrix
- All Known Implementing Classes:
- BlockD3Matrix64F, BlockMatrix64F, CD1Matrix64F, CDenseMatrix64F, D1Matrix32F, D1Matrix64F, DenseD2Matrix64F, DenseMatrix32F, DenseMatrix64F, FixedMatrix2_64F, FixedMatrix2x2_64F, FixedMatrix3_64F, FixedMatrix3x3_64F, FixedMatrix4_64F, FixedMatrix4x4_64F, FixedMatrix5_64F, FixedMatrix5x5_64F, FixedMatrix6_64F, FixedMatrix6x6_64F, RowD1Matrix64F
public interface Matrix extends java.io.SerializableBase interface for all rectangular matrices
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description <T extends Matrix>
Tcopy()Creates an exact copy of the matrixintgetNumCols()Returns the number of columns in this matrix.intgetNumRows()Returns the number of rows in this matrix.voidprint()Prints the matrix to standard out.voidset(Matrix original)Sets this matrix to be identical to the 'original' matrix passed in.
-
-
-
Method Detail
-
getNumRows
int getNumRows()
Returns the number of rows in this matrix.- Returns:
- Number of rows.
-
getNumCols
int getNumCols()
Returns the number of columns in this matrix.- Returns:
- Number of columns.
-
copy
<T extends Matrix> T copy()
Creates an exact copy of the matrix
-
set
void set(Matrix original)
Sets this matrix to be identical to the 'original' matrix passed in.
-
print
void print()
Prints the matrix to standard out.
-
-
DMelt 3.0 © DataMelt by jWork.ORG