IMatrixExtensions Class Reference
Utilities to work with matrices.
More...
List of all members.
Static Public Member Functions |
static IMatrix< int > | ReadMatrix (this TextReader reader, IMatrix< int > example_matrix) |
| Read a matrix of integers from a TextReader object.
|
static IMatrix< float > | ReadMatrix (this TextReader reader, IMatrix< float > example_matrix) |
| Read a matrix from a TextReader object.
|
static IMatrix< double > | ReadMatrix (this TextReader reader, IMatrix< double > example_matrix) |
| Read a matrix from a TextReader object.
|
static void | WriteMatrix (this TextWriter writer, IMatrix< int > matrix) |
| Write a matrix of integers to a StreamWriter object.
|
static void | WriteMatrix (this TextWriter writer, IMatrix< float > matrix) |
| Write a matrix of floats to a StreamWriter object.
|
static void | WriteMatrix (this TextWriter writer, IMatrix< double > matrix) |
| Write a matrix of doubles to a StreamWriter object.
|
static void | WriteSparseMatrix (this TextWriter writer, SparseMatrix< int > matrix) |
| Write a sparse matrix of integers to a StreamWriter object.
|
static void | WriteSparseMatrix (this TextWriter writer, SparseMatrix< float > matrix) |
| Write a sparse matrix of floats to a StreamWriter object.
|
static void | WriteSparseMatrix (this TextWriter writer, SparseMatrix< double > matrix) |
| Write a sparse matrix of doubles to a StreamWriter object.
|
Detailed Description
Utilities to work with matrices.
Member Function Documentation
static IMatrix<int> ReadMatrix |
( |
this TextReader |
reader, |
|
|
IMatrix< int > |
example_matrix | |
|
) |
| | [inline, static] |
Read a matrix of integers from a TextReader object.
- Parameters:
-
| reader | the TextReader object to read from |
| example_matrix | matrix of the type of matrix to create |
- Returns:
- a matrix of integers
static IMatrix<float> ReadMatrix |
( |
this TextReader |
reader, |
|
|
IMatrix< float > |
example_matrix | |
|
) |
| | [inline, static] |
Read a matrix from a TextReader object.
- Parameters:
-
| reader | the TextReader object to read from |
| example_matrix | matrix of the type of matrix to create |
- Returns:
- a matrix of float
static IMatrix<double> ReadMatrix |
( |
this TextReader |
reader, |
|
|
IMatrix< double > |
example_matrix | |
|
) |
| | [inline, static] |
Read a matrix from a TextReader object.
- Parameters:
-
| reader | the TextReader object to read from |
| example_matrix | matrix of the type of matrix to create |
- Returns:
- a matrix of doubles
static void WriteMatrix |
( |
this TextWriter |
writer, |
|
|
IMatrix< int > |
matrix | |
|
) |
| | [inline, static] |
Write a matrix of integers to a StreamWriter object.
- Parameters:
-
| writer | a StreamWriter |
| matrix | the matrix of doubles to write out |
static void WriteMatrix |
( |
this TextWriter |
writer, |
|
|
IMatrix< float > |
matrix | |
|
) |
| | [inline, static] |
Write a matrix of floats to a StreamWriter object.
- Parameters:
-
| writer | a StreamWriter |
| matrix | the matrix of floats to write out |
static void WriteMatrix |
( |
this TextWriter |
writer, |
|
|
IMatrix< double > |
matrix | |
|
) |
| | [inline, static] |
Write a matrix of doubles to a StreamWriter object.
- Parameters:
-
| writer | a StreamWriter |
| matrix | the matrix of doubles to write out |
static void WriteSparseMatrix |
( |
this TextWriter |
writer, |
|
|
SparseMatrix< int > |
matrix | |
|
) |
| | [inline, static] |
Write a sparse matrix of integers to a StreamWriter object.
- Parameters:
-
| writer | a StreamWriter |
| matrix | the matrix of doubles to write out |
static void WriteSparseMatrix |
( |
this TextWriter |
writer, |
|
|
SparseMatrix< float > |
matrix | |
|
) |
| | [inline, static] |
Write a sparse matrix of floats to a StreamWriter object.
- Parameters:
-
| writer | a StreamWriter |
| matrix | the matrix of floats to write out |
static void WriteSparseMatrix |
( |
this TextWriter |
writer, |
|
|
SparseMatrix< double > |
matrix | |
|
) |
| | [inline, static] |
Write a sparse matrix of doubles to a StreamWriter object.
- Parameters:
-
| writer | a StreamWriter |
| matrix | the matrix of doubles to write out |
The documentation for this class was generated from the following file: