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< float > ReadVector (this TextReader reader)
 Read a collection of floats 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< float > vector)
 Write a collection of floats to a TextWriter.
static void WriteVector (this TextWriter writer, ICollection< double > vector)
 Write a collection of doubles to a TextWriter.

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<float> ReadVector ( this TextReader  reader  )  [inline, static]

Read a collection of floats 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< float >  vector 
) [inline, static]

Write a collection of floats to a TextWriter.

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

Write a collection of doubles to a TextWriter.

Parameters:
writer a TextWriter
vector a collection of double values

The documentation for this class was generated from the following file:
Generated on Thu Apr 5 01:11:33 2012 for MyMediaLite by  doxygen 1.6.3