org.encog.util.csv
public final class NumberList extends Object
| Modifier and Type | Method and Description |
|---|---|
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) |
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 void toList(CSVFormat format, int precision, StringBuilder result, double[] data)
public static void toListInt(CSVFormat format, StringBuilder result, int[] data)
Copyright © 2014. All Rights Reserved.