MyMediaLite  3.03
Static Public Member Functions
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< double > vector)
 Write a collection of doubles to a TextWriter.
static void WriteVector (this TextWriter writer, ICollection< float > vector)
 Write a collection of floats to a TextWriter.
static void WriteVector (this TextWriter writer, ICollection< int > vector)
 Write a collection of ints 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:
readerthe 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:
readerthe TextReader to read from
Returns:
a list of double values
static void WriteVector ( this TextWriter  writer,
ICollection< double >  vector 
) [inline, static]

Write a collection of doubles to a TextWriter.

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

Write a collection of floats to a TextWriter.

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

Write a collection of ints to a streamwriter.

Parameters:
writera StreamWriter
vectora collection of int values

The documentation for this class was generated from the following file: