eminem
Parse Matrix Market files in C++
Loading...
Searching...
No Matches
eminem
utils.hpp
Go to the documentation of this file.
1
#ifndef EMINEM_UTILS_HPP
2
#define EMINEM_UTILS_HPP
3
9
namespace
eminem
{
10
11
// See https://networkrepository.com/mtx-matrix-market-format.html for legal values.
12
17
enum class
Object
:
char
{ MATRIX, VECTOR };
18
24
enum class
Format
:
char
{ COORDINATE, ARRAY };
25
35
enum class
Field
:
char
{ REAL, DOUBLE, COMPLEX, INTEGER, PATTERN };
36
45
enum class
Symmetry
:
char
{ GENERAL, SYMMETRIC, SKEW_SYMMETRIC, HERMITIAN };
46
52
struct
MatrixDetails
{
56
Object
object
;
57
61
Format
format
;
62
66
Field
field
;
67
71
Symmetry
symmetry
;
72
};
73
74
}
75
76
#endif
eminem
Classes and methods for parsing Matrix Market files.
eminem::Symmetry
Symmetry
Definition
utils.hpp:45
eminem::Field
Field
Definition
utils.hpp:35
eminem::Format
Format
Definition
utils.hpp:24
eminem::Object
Object
Definition
utils.hpp:17
eminem::MatrixDetails
Details extracted from the Matrix Market banner.
Definition
utils.hpp:52
eminem::MatrixDetails::symmetry
Symmetry symmetry
Definition
utils.hpp:71
eminem::MatrixDetails::format
Format format
Definition
utils.hpp:61
eminem::MatrixDetails::object
Object object
Definition
utils.hpp:56
eminem::MatrixDetails::field
Field field
Definition
utils.hpp:66
Generated by
1.9.8