eminem
Parse Matrix Market files in C++
|
Parse a Matrix Market text file. More...
#include <from_text.hpp>
Public Member Functions | |
TextFileParser (const char *path, size_t chunk_size=65536) | |
Public Member Functions inherited from eminem::Parser< parallel_, Pointer_ > | |
Parser (Pointer_ r) | |
const MatrixDetails & | get_banner () const |
size_t | get_nrows () const |
size_t | get_ncols () const |
size_t | get_nlines () const |
void | scan_preamble () |
template<typename Type_ = int, class Store_ > | |
bool | scan_integer (Store_ &&store) |
template<typename Type_ = double, class Store_ > | |
bool | scan_real (Store_ &&store) |
template<typename Type_ = double, class Store_ > | |
bool | scan_double (Store_ &&store) |
template<typename Type_ = double, class Store_ > | |
bool | scan_complex (Store_ &&store) |
template<typename Type_ = bool, class Store_ > | |
bool | scan_pattern (Store_ &&store) |
Parse a Matrix Market text file.
parallel_ | Whether to parallelize the reading/parsing, see Parser . |
|
inline |
path | Pointer to a string containing a path to an uncompressed Matrix Market file. |
chunk_size | Chunk size to use for reading. |