All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
NetworKit::MatrixMarketReader Class Reference

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

#include <MatrixMarketReader.h>

Public Member Functions

 MatrixMarketReader ()=default
 
virtual CSRMatrix read (const std::string &path) override
 Reads the matrix in path. More...
 
CSRMatrix read (std::istream &in)
 Reads the matrix in in. More...
 
- Public Member Functions inherited from NetworKit::MatrixReader
virtual ~MatrixReader ()=default
 
CSRMatrix_read (const std::string &path)
 only to be used by cython - this eliminates an unnecessary copy More...
 

Detailed Description

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

Only allows real, symmetric matrices.

Constructor & Destructor Documentation

NetworKit::MatrixMarketReader::MatrixMarketReader ( )
default

Member Function Documentation

CSRMatrix NetworKit::MatrixMarketReader::read ( const std::string &  path)
overridevirtual

Reads the matrix in path.

Implements NetworKit::MatrixReader.

CSRMatrix NetworKit::MatrixMarketReader::read ( std::istream &  in)

Reads the matrix in in.


The documentation for this class was generated from the following files: