|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--idl.tmt.representation.matrix.DenseMatrixReader
Class for reading dense matrices from disk.
| Field Summary | |
(package private) int |
i
|
(package private) int |
j
|
(package private) DoubleMatrix2D |
matrix
|
| Constructor Summary | |
DenseMatrixReader()
|
|
| Method Summary | |
DoubleMatrix2D |
readMatrix(java.lang.String theFile)
read a dense matrix into memory from disk. |
DoubleMatrix2D |
readMatrix(java.lang.String theFile,
int rows,
int cols)
Load a matrix from a file |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
DoubleMatrix2D matrix
int i
int j
| Constructor Detail |
public DenseMatrixReader()
| Method Detail |
public DoubleMatrix2D readMatrix(java.lang.String theFile,
int rows,
int cols)
theFile - the name of a file on disk with row-oriented matrixrows - number of rowscols - number of columnspublic DoubleMatrix2D readMatrix(java.lang.String theFile)
theFile -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||