VectorExtensions Class Reference

Extensions for vector-like data. More...

List of all members.

Static Public Member Functions

static IList< int > ReadIntVector (this TextReader reader)
 Read a collection of ints from a TextReader object.
static IList< double > ReadVector (this TextReader reader)
 Read a collection of doubles from a TextReader object.
static void WriteVector (this TextWriter writer, ICollection< int > vector)
 Write a collection of ints to a streamwriter.
static void WriteVector (this TextWriter writer, ICollection< double > vector)
 Write a collection of doubles to a streamwriter.

Detailed Description

Extensions for vector-like data.


Member Function Documentation

static IList<int> ReadIntVector ( this TextReader  reader  )  [inline, static]

Read a collection of ints from a TextReader object.

Parameters:
reader the TextReader to read from
Returns:
a list of int values
static IList<double> ReadVector ( this TextReader  reader  )  [inline, static]

Read a collection of doubles from a TextReader object.

Parameters:
reader the TextReader to read from
Returns:
a list of double values
static void WriteVector ( this TextWriter  writer,
ICollection< int >  vector 
) [inline, static]

Write a collection of ints to a streamwriter.

Parameters:
writer a StreamWriter
vector a collection of int values
static void WriteVector ( this TextWriter  writer,
ICollection< double >  vector 
) [inline, static]

Write a collection of doubles to a streamwriter.

Parameters:
writer a StreamWriter
vector a collection of double values

The documentation for this class was generated from the following file:
Generated on Mon Nov 28 19:18:46 2011 for MyMediaLite by  doxygen 1.6.3