Class MatrixMarketReader

Inheritance Relationships

Base Type

Class Documentation

class MatrixMarketReader : public NetworKit::MatrixReader

Reader for the matrix market file format as described in http://math.nist.gov/MatrixMarket/reports/MMformat.ps.

Only allows real, symmetric matrices.

Public Functions

MatrixMarketReader() = default
virtual CSRMatrix read(const std::string &path) override

Reads the matrix in path.

CSRMatrix read(std::istream &in)

Reads the matrix in in.