Utilities to work with matrices
More...
Static Public Member Functions |
static IMatrix< float > | ReadMatrix (this TextReader reader, IMatrix< float > example_matrix) |
| Read a matrix from a TextReader object
|
static IMatrix< int > | ReadMatrix (this TextReader reader, IMatrix< int > example_matrix) |
| Read a matrix of integers from a TextReader object
|
static void | WriteMatrix (this TextWriter writer, IMatrix< float > matrix) |
| Write a matrix of floats 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< int > matrix) |
| Write a sparse matrix of integers to a StreamWriter object
|
Detailed Description
Utilities to work with matrices
Member Function Documentation
static IMatrix<float> ReadMatrix |
( |
this TextReader |
reader, |
|
|
IMatrix< float > |
example_matrix |
|
) |
| |
|
inlinestatic |
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<int> ReadMatrix |
( |
this TextReader |
reader, |
|
|
IMatrix< int > |
example_matrix |
|
) |
| |
|
inlinestatic |
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 void WriteMatrix |
( |
this TextWriter |
writer, |
|
|
IMatrix< float > |
matrix |
|
) |
| |
|
inlinestatic |
Write a 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< float > |
matrix |
|
) |
| |
|
inlinestatic |
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< int > |
matrix |
|
) |
| |
|
inlinestatic |
Write a sparse matrix of integers 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: