Documentation of 'org.encog.util.csv.NumberList' Java class
NumberList
org.encog.util.csv

Class NumberList



  • public final class NumberList
    extends java.lang.Object
    Class used to handle lists of numbers.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double[] fromList(CSVFormat format, java.lang.String str)
      Get an array of double's from a string of comma separated text.
      static int[] fromListInt(CSVFormat format, java.lang.String str) 
      static void toList(CSVFormat format, int precision, java.lang.StringBuilder result, double[] data) 
      static void toList(CSVFormat format, java.lang.StringBuilder result, double[] data)
      Convert an array of doubles to a comma separated list.
      static void toListInt(CSVFormat format, java.lang.StringBuilder result, int[] data) 
      • Methods inherited from class java.lang.Object

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

      • fromList

        public static double[] fromList(CSVFormat format,
                                        java.lang.String str)
        Get an array of double's from a string of comma separated text.
        Parameters:
        format - The format to use.
        str - The string to parse.
        Returns:
        An array of doubles parsed from the string.
      • toList

        public static void toList(CSVFormat format,
                                  java.lang.StringBuilder result,
                                  double[] data)
        Convert an array of doubles to a comma separated list.
        Parameters:
        format - The format to use.
        result - This string will have the values appended to it.
        data - The array of doubles to use.
      • fromListInt

        public static int[] fromListInt(CSVFormat format,
                                        java.lang.String str)
      • toList

        public static void toList(CSVFormat format,
                                  int precision,
                                  java.lang.StringBuilder result,
                                  double[] data)
      • toListInt

        public static void toListInt(CSVFormat format,
                                     java.lang.StringBuilder result,
                                     int[] data)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.