C# Class Encog.Util.CSV.NumberList

Show file Open project: encog/encog-silverlight-core

Public Methods

Method Description
FromList ( CSVFormat format, String str ) : double[]

Get an array of double's from a string of comma separated text.

FromListInt ( CSVFormat format, String str ) : int[]

Get an array of ints's from a string of comma separated text.

ToList ( CSVFormat format, StringBuilder result, double data ) : void

Convert an array of doubles to a comma separated list.

ToList ( CSVFormat format, int precision, StringBuilder result, double data ) : void

Convert an array of doubles to a comma separated list.

ToListInt ( CSVFormat format, StringBuilder result, int data ) : void

Convert an array of ints to a comma separated list.

Private Methods

Method Description
NumberList ( ) : System

Method Details

FromList() public static method

Get an array of double's from a string of comma separated text.
public static FromList ( CSVFormat format, String str ) : double[]
format CSVFormat The way to format this list.
str String The string that contains a list of numbers.
return double[]

FromListInt() public static method

Get an array of ints's from a string of comma separated text.
public static FromListInt ( CSVFormat format, String str ) : int[]
format CSVFormat The way to format this list.
str String The string that contains a list of numbers.
return int[]

ToList() public static method

Convert an array of doubles to a comma separated list.
public static ToList ( CSVFormat format, StringBuilder result, double data ) : void
format CSVFormat The way to format this list.
result StringBuilder This string will have the values appended to it.
data double The array of doubles to use.
return void

ToList() public static method

Convert an array of doubles to a comma separated list.
public static ToList ( CSVFormat format, int precision, StringBuilder result, double data ) : void
format CSVFormat The way to format this list.
precision int The precision.
result StringBuilder This string will have the values appended to it.
data double The array of doubles to use.
return void

ToListInt() public static method

Convert an array of ints to a comma separated list.
public static ToListInt ( CSVFormat format, StringBuilder result, int data ) : void
format CSVFormat The way to format this list.
result StringBuilder This string will have the values appended to it.
data int The array of doubles to use.
return void