|
HermesCommon
2.0
|
Namespace containing classes for vector / matrix operations. More...
Namespaces | |
| namespace | DenseMatrixOperations |
| Contains operation on dense matrices. | |
Classes | |
| class | Matrix |
| General (abstract) matrix representation in Hermes. More... | |
| class | SparseMatrix |
| General (abstract) sparse matrix representation in Hermes. More... | |
| class | Vector |
| General (abstract) vector representation in Hermes. More... | |
Enumerations | |
| enum | EMatrixDumpFormat { DF_MATLAB_SPARSE, DF_PLAIN_ASCII, DF_HERMES_BIN, DF_MATRIX_MARKET } |
| Format of file matrix and vector output. More... | |
Functions | |
| template<typename Scalar > | |
| HERMES_API Vector< Scalar > * | create_vector () |
| Function returning a vector according to the users's choice. More... | |
| template<typename Scalar > | |
| HERMES_API SparseMatrix< Scalar > * | create_matrix () |
| Function returning a matrix according to the users's choice. More... | |
Namespace containing classes for vector / matrix operations.
Format of file matrix and vector output.
| Enumerator | |
|---|---|
| DF_MATLAB_SPARSE |
matlab file |
| DF_PLAIN_ASCII |
plain ascii file first line is matrix size second line in number of nonzero values next lines contains row column and value |
| DF_HERMES_BIN |
Hermes binary format. |
| DF_MATRIX_MARKET |
Matrix Market which can be read by pysparse library. |
| template HERMES_API SparseMatrix< std::complex< double > > * Hermes::Algebra::create_matrix | ( | ) |
Function returning a matrix according to the users's choice.
| template HERMES_API Vector< std::complex< double > > * Hermes::Algebra::create_vector | ( | ) |
Function returning a vector according to the users's choice.