|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--idl.tmt.representation.matrix.SparseMatrixReader
Currently the same as the dense matrix reader, only loads into sparse format.
| Field Summary | |
(package private) int |
i
|
(package private) int |
j
|
(package private) DoubleMatrix2D |
matrix
|
| Constructor Summary | |
SparseMatrixReader()
|
|
| Method Summary | |
DoubleMatrix2D |
readMatrix(java.lang.String theFile)
read a sparse matrix into memory from disk...again, this is the same as the dense method. |
DoubleMatrix2D |
readMatrix(java.lang.String theFile,
int rows,
int cols)
Load a matrix from a file...this is just the same as the dense loader for now...need to change this. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
DoubleMatrix2D matrix
int i
int j
| Constructor Detail |
public SparseMatrixReader()
| 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 | |||||||||