|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcern.colt.matrix.io.MatrixSize
public class MatrixSize
Contains the size of a matrix stored in the Matrix Market exchange format
Constructor Summary | |
---|---|
MatrixSize(int numRows,
int numColumns,
int numEntries)
Constructor for MatrixSize |
|
MatrixSize(int numRows,
int numColumns,
MatrixInfo info)
Constructor for MatrixSize |
Method Summary | |
---|---|
boolean |
isSquare()
Returns true if the matrix is square, else
false |
int |
numColumns()
Returns the number of columns in the matrix |
int |
numEntries()
Returns the number of entries stored |
int |
numRows()
Returns the number of rows in the matrix |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MatrixSize(int numRows, int numColumns, MatrixInfo info)
numRows
- Number of rows in the matrixnumColumns
- Number of columns in the matrixinfo
- Info on the matrixpublic MatrixSize(int numRows, int numColumns, int numEntries)
numRows
- Number of rows in the matrixnumColumns
- Number of columns in the matrixnumEntries
- Number of entries storedMethod Detail |
---|
public int numRows()
public int numColumns()
public int numEntries()
public boolean isSquare()
true
if the matrix is square, else
false
|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |