public class ReadMatrixCsv extends ReadCsv
| Constructor and Description |
|---|
ReadMatrixCsv(java.io.InputStream in)
Specifies where input comes from.
|
| Modifier and Type | Method and Description |
|---|---|
DenseMatrix64F |
read()
Reads in a DenseMatrix64F from the IO stream.
|
DenseMatrix64F |
read(int numRows,
int numCols)
Reads in a DenseMatrix64F from the IO stream where the user specifies the matrix dimensions.
|
extractWords, getLineNumber, getReader, parseWords, setCommentpublic ReadMatrixCsv(java.io.InputStream in)
in - Where the input comes from.public DenseMatrix64F read() throws java.io.IOException
java.io.IOException - If anything goes wrong.public DenseMatrix64F read(int numRows, int numCols) throws java.io.IOException
numRows - Number of rows in the matrixnumCols - Number of columns in the matrixjava.io.IOException