org.ejml.ops
Class ReadMatrixCsv

java.lang.Object
  extended by org.ejml.ops.ReadCsv
      extended by org.ejml.ops.ReadMatrixCsv

public class ReadMatrixCsv
extends ReadCsv

Reads in a matrix that is in a column-space-value (CSV) format.

Author:
Peter Abeles

Constructor Summary
ReadMatrixCsv(InputStream in)
          Specifies where input comes from.
 
Method Summary
 DenseMatrix64F read()
          Reads in a DenseMatrix64F from the IO stream.
 DenseMatrix64F read(int numRows, int numCols)
           
 
Methods inherited from class org.ejml.ops.ReadCsv
extractWords, getLineNumber, getReader, parseWords, setComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadMatrixCsv

public ReadMatrixCsv(InputStream in)
Specifies where input comes from.

Parameters:
in - Where the input comes from.
Method Detail

read

public DenseMatrix64F read()
                    throws IOException
Reads in a DenseMatrix64F from the IO stream.

Returns:
DenseMatrix64F
Throws:
IOException - If anything goes wrong.

read

public DenseMatrix64F read(int numRows,
                           int numCols)
                    throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.