MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::io::detail::mm_header Struct Reference

The banner %MatrixMarket matrix <format> <field> <symmetry>. More...

#include <matrix_market.hpp>

Public Types

enum class  field_t { real , integer , complex , pattern }
enum class  symmetry_t { general , symmetric , skew_symmetric , hermitian }

Public Member Functions

bool mirrored () const noexcept

Public Attributes

bool coordinate = true
field_t field = field_t::real
symmetry_t symmetry = symmetry_t::general

Detailed Description

The banner %MatrixMarket matrix <format> <field> <symmetry>.

Member Enumeration Documentation

◆ field_t

Enumerator
real 
integer 
complex 
pattern 

◆ symmetry_t

Enumerator
general 
symmetric 
skew_symmetric 
hermitian 

Member Function Documentation

◆ mirrored()

bool mtl::io::detail::mm_header::mirrored ( ) const
inlinenoexcept

Member Data Documentation

◆ coordinate

bool mtl::io::detail::mm_header::coordinate = true

◆ field

field_t mtl::io::detail::mm_header::field = field_t::real

◆ symmetry

symmetry_t mtl::io::detail::mm_header::symmetry = symmetry_t::general

The documentation for this struct was generated from the following file: