Documentation of 'org.ejml.ops.ReadMatrixCsv' Java class
ReadMatrixCsv
org.ejml.ops

Class ReadMatrixCsv



  • public class ReadMatrixCsv
    extends ReadCsv
    Reads in a matrix that is in a column-space-value (CSV) format.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ReadMatrixCsv(java.io.InputStream in)
      Specifies where input comes from.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      <M extends Matrix>
      M
      read()
      Reads in a DenseMatrix64F from the IO stream.
      CDenseMatrix64F readComplex(int numRows, int numCols)
      Reads in a CDenseMatrix64F from the IO stream where the user specifies the matrix dimensions.
      DenseMatrix64F readReal(int numRows, int numCols)
      Reads in a DenseMatrix64F from the IO stream where the user specifies the matrix dimensions.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReadMatrixCsv

        public ReadMatrixCsv(java.io.InputStream in)
        Specifies where input comes from.
        Parameters:
        in - Where the input comes from.
    • Method Detail

      • read

        public <M extends Matrix> M read()
                                  throws java.io.IOException
        Reads in a DenseMatrix64F from the IO stream.
        Returns:
        DenseMatrix64F
        Throws:
        java.io.IOException - If anything goes wrong.
      • readReal

        public DenseMatrix64F readReal(int numRows,
                                       int numCols)
                                throws java.io.IOException
        Reads in a DenseMatrix64F from the IO stream where the user specifies the matrix dimensions.
        Parameters:
        numRows - Number of rows in the matrix
        numCols - Number of columns in the matrix
        Returns:
        DenseMatrix64F
        Throws:
        java.io.IOException
      • readComplex

        public CDenseMatrix64F readComplex(int numRows,
                                           int numCols)
                                    throws java.io.IOException
        Reads in a CDenseMatrix64F from the IO stream where the user specifies the matrix dimensions.
        Parameters:
        numRows - Number of rows in the matrix
        numCols - Number of columns in the matrix
        Returns:
        DenseMatrix64F
        Throws:
        java.io.IOException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.