Utilities to work with matrices
More...
Utilities to work with matrices
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: