eminem
Parse Matrix Market files in C++
Loading...
Searching...
No Matches
Classes | Enumerations
eminem Namespace Reference

Classes and methods for parsing Matrix Market files. More...

Classes

struct  GzipFileParser
 Parse a Gzip-compressed Matrix Market file. More...
 
struct  MatrixDetails
 Details extracted from the Matrix Market banner. More...
 
class  Parser
 Parse a matrix from a Matrix Market file. More...
 
struct  SomeBufferParser
 Parse a (possibly Zlib-compressed) Matrix Market buffer. More...
 
struct  SomeFileParser
 Parse a (possibly Gzip-compressed) Matrix Market file. More...
 
struct  TextBufferParser
 Parse a Matrix Market text buffer. More...
 
struct  TextFileParser
 Parse a Matrix Market text file. More...
 
struct  ZlibBufferParser
 Parse a Zlib-compressed Matrix Market buffer. More...
 

Enumerations

enum class  Object : char { MATRIX , VECTOR }
 
enum class  Format : char { COORDINATE , ARRAY }
 
enum class  Field : char {
  REAL , DOUBLE , COMPLEX , INTEGER ,
  PATTERN
}
 
enum class  Symmetry : char { GENERAL , SYMMETRIC , SKEW_SYMMETRIC , HERMITIAN }
 

Detailed Description

Classes and methods for parsing Matrix Market files.

Enumeration Type Documentation

◆ Object

enum class eminem::Object : char
strong

Type of object in the Matrix Market file. For the most part, vectors are treated as matrices with 1 column.

◆ Format

enum class eminem::Format : char
strong

Format of the matrix data. For COORDINATE, each line contains the coordinates for a non-zero value. For ARRAY, each line contains the value in column-major format.

◆ Field

enum class eminem::Field : char
strong

Type of the matrix value field:

  • REAL: integer or floating-point values, in a single field.
  • DOUBLE: floating-point values only, in a single field.
  • INTEGER: integer values only, in a single field.
  • COMPLEX: complex values, including both real and imaginary parts in two separate fields.
  • PATTERN: the presence of a matrix entry, no field is required.

◆ Symmetry

enum class eminem::Symmetry : char
strong

Symmetry in the matrix.

  • GENERAL: no symmetric, valid for all choices of Field.
  • SYMMETRIC: symmetric, valid for all choices of Field.
  • SKEW_SYMMETRIC: symmetric, valid for all choices of Field except Field::PATTERN.
  • HERMITIAN: symmetric, valid for Field::COMPLEX only.