MarketIO.h File Reference

Go to the source code of this file.

Namespaces

 Eigen
 : TensorContractionSycl.h, provides various tensor contraction kernel for SYCL backend
 
 Eigen::internal
 

Functions

template<typename RealScalar >
void Eigen::internal::GetDenseElt (const std::string &line, RealScalar &val)
 
template<typename RealScalar >
void Eigen::internal::GetDenseElt (const std::string &line, std::complex< RealScalar > &val)
 
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. More...
 
template<>
void Eigen::internal::GetMarketLine (const char *line, int &i, int &j, double &value)
 
template<>
void Eigen::internal::GetMarketLine (const char *line, int &i, int &j, float &value)
 
template<>
void Eigen::internal::GetMarketLine (const char *line, int &i, int &j, std::complex< double > &value)
 
template<>
void Eigen::internal::GetMarketLine (const char *line, int &i, int &j, std::complex< float > &value)
 
template<typename Scalar , typename StorageIndex >
void Eigen::internal::GetMarketLine (const char *line, StorageIndex &i, StorageIndex &j, Scalar &value)
 
template<typename Scalar , typename StorageIndex >
void Eigen::internal::GetMarketLine (const char *line, StorageIndex &i, StorageIndex &j, std::complex< Scalar > &value)
 
template<typename SparseMatrixType >
bool Eigen::loadMarket (SparseMatrixType &mat, const std::string &filename)
 Loads a sparse matrix from a matrixmarket format file. More...
 
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. More...
 
template<typename VectorType >
bool Eigen::loadMarketVector (VectorType &vec, const std::string &filename)
 Same functionality as loadMarketDense, deprecated. More...
 
template<typename Scalar >
void Eigen::internal::putDenseElt (Scalar value, std::ofstream &out)
 
template<typename Scalar >
void Eigen::internal::putDenseElt (std::complex< Scalar > value, std::ofstream &out)
 
template<typename Scalar >
void Eigen::internal::putMarketHeader (std::string &header, int sym)
 
template<typename Scalar , typename StorageIndex >
void Eigen::internal::PutMatrixElt (Scalar value, StorageIndex row, StorageIndex col, std::ofstream &out)
 
template<typename Scalar , typename StorageIndex >
void Eigen::internal::PutMatrixElt (std::complex< Scalar > value, StorageIndex row, StorageIndex col, std::ofstream &out)
 
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 More...
 
template<typename DenseType >
bool Eigen::saveMarketDense (const DenseType &mat, const std::string &filename)
 writes a dense Matrix or vector to a marketmarket format file More...
 
template<typename VectorType >
bool Eigen::saveMarketVector (const VectorType &vec, const std::string &filename)
 Same functionality as saveMarketDense, deprecated. More...