This module contains some experimental features extending the sparse module:
- A RandomSetter which is a wrapper object allowing to set/update a sparse matrix with random access.
- A SparseInverse which calculates a sparse subset of the inverse of a sparse matrix corresponding to nonzeros of the input
- MatrixMarket format(https://math.nist.gov/MatrixMarket/formats.html) readers and writers for sparse and dense matrices.
#include <unsupported/Eigen/SparseExtra>
|
| bool | Eigen::getMarketHeader (const std::string &filename, int &sym, bool &iscomplex, bool &isdense) |
| | Reads the header of a matrixmarket file and determines the properties of a matrix.
|
| template<typename SparseMatrixType> |
| bool | Eigen::loadMarket (SparseMatrixType &mat, const std::string &filename) |
| | Loads a sparse matrix from a matrixmarket format file.
|
| template<typename DenseType> |
| bool | Eigen::loadMarketDense (DenseType &mat, const std::string &filename) |
| | Loads a dense Matrix or Vector from a matrixmarket file. If a statically sized matrix has to be parsed and the file contains the wrong dimensions it is undefined behaviour.
|
|
template<typename VectorType> |
| bool | Eigen::loadMarketVector (VectorType &vec, const std::string &filename) |
| | Same functionality as loadMarketDense, deprecated.
|
| template<typename SparseMatrixType> |
| bool | Eigen::saveMarket (const SparseMatrixType &mat, const std::string &filename, int sym=0) |
| | writes a sparse Matrix to a marketmarket format file
|
| template<typename DenseType> |
| bool | Eigen::saveMarketDense (const DenseType &mat, const std::string &filename) |
| | writes a dense Matrix or vector to a marketmarket format file
|
|
template<typename VectorType> |
| bool | Eigen::saveMarketVector (const VectorType &vec, const std::string &filename) |
| | Same functionality as saveMarketDense, deprecated.
|