|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.util.csv.NumberList
public final class NumberList
Class used to handle lists of numbers.
| Method Summary | |
|---|---|
static double[] |
fromList(CSVFormat format,
String str)
Get an array of double's from a string of comma separated text. |
static int[] |
fromListInt(CSVFormat format,
String str)
|
static void |
toList(CSVFormat format,
int precision,
StringBuilder result,
double[] data)
|
static void |
toList(CSVFormat format,
StringBuilder result,
double[] data)
Convert an array of doubles to a comma separated list. |
static void |
toListInt(CSVFormat format,
StringBuilder result,
int[] data)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static double[] fromList(CSVFormat format,
String str)
format - The format to use.str - The string to parse.
public static void toList(CSVFormat format,
StringBuilder result,
double[] data)
format - The format to use.result - This string will have the values appended to it.data - The array of doubles to use.
public static int[] fromListInt(CSVFormat format,
String str)
public static void toList(CSVFormat format,
int precision,
StringBuilder result,
double[] data)
public static void toListInt(CSVFormat format,
StringBuilder result,
int[] data)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||