Documentation of 'Catalano.IO.DataParser' Java class
DataParser
Catalano.IO

Class DataParser



  • public final class DataParser
    extends java.lang.Object
    Data parse.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double[][] toDouble(java.lang.String[][] A, int startRow, int endRow, int startCol, int endCol)
      Convert string matrix to double matrix.
      static java.util.List<double[]> toDoubleList(java.lang.String[][] A, int startRow, int endRow, int startCol, int endCol)
      Convert string matrix to double array list.
      static float[][] toFloat(java.lang.String[][] A, int startRow, int endRow, int startCol, int endCol)
      Convert string matrix to float matrix.
      static java.util.List<float[]> toFloatList(java.lang.String[][] A, int startRow, int endRow, int startCol, int endCol)
      Convert string matrix to float matrix.
      static int[][] toInt(java.lang.String[][] A, int startRow, int endRow, int startCol, int endCol)
      Convert string matrix to int matrix.
      static java.util.List<int[]> toIntList(java.lang.String[][] A, int startRow, int endRow, int startCol, int endCol)
      Convert string matrix to int array matrix.
      • Methods inherited from class java.lang.Object

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

      • toDouble

        public static double[][] toDouble(java.lang.String[][] A,
                                          int startRow,
                                          int endRow,
                                          int startCol,
                                          int endCol)
        Convert string matrix to double matrix.
        Parameters:
        A - Matrix.
        startRow - Initial row index.
        endRow - End row index.
        startCol - Initial column index.
        endCol - End column index.
        Returns:
        Matrix.
      • toDoubleList

        public static java.util.List<double[]> toDoubleList(java.lang.String[][] A,
                                                            int startRow,
                                                            int endRow,
                                                            int startCol,
                                                            int endCol)
        Convert string matrix to double array list.
        Parameters:
        A - Matrix.
        startRow - Initial row index.
        endRow - End row index.
        startCol - Initial column index.
        endCol - End column index.
        Returns:
        Matrix.
      • toInt

        public static int[][] toInt(java.lang.String[][] A,
                                    int startRow,
                                    int endRow,
                                    int startCol,
                                    int endCol)
        Convert string matrix to int matrix.
        Parameters:
        A - Matrix.
        startRow - Initial row index.
        endRow - End row index.
        startCol - Initial column index.
        endCol - End column index.
        Returns:
        Matrix.
      • toIntList

        public static java.util.List<int[]> toIntList(java.lang.String[][] A,
                                                      int startRow,
                                                      int endRow,
                                                      int startCol,
                                                      int endCol)
        Convert string matrix to int array matrix.
        Parameters:
        A - Matrix.
        startRow - Initial row index.
        endRow - End row index.
        startCol - Initial column index.
        endCol - End column index.
        Returns:
        Matrix.
      • toFloat

        public static float[][] toFloat(java.lang.String[][] A,
                                        int startRow,
                                        int endRow,
                                        int startCol,
                                        int endCol)
        Convert string matrix to float matrix.
        Parameters:
        A - Matrix.
        startRow - Initial row index.
        endRow - End row index.
        startCol - Initial column index.
        endCol - End column index.
        Returns:
        Matrix.
      • toFloatList

        public static java.util.List<float[]> toFloatList(java.lang.String[][] A,
                                                          int startRow,
                                                          int endRow,
                                                          int startCol,
                                                          int endCol)
        Convert string matrix to float matrix.
        Parameters:
        A - Matrix.
        startRow - Initial row index.
        endRow - End row index.
        startCol - Initial column index.
        endCol - End column index.
        Returns:
        Matrix.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.