7 #include <Eigen/Sparse>
20 Eigen::MatrixXd readTxtIntoMatrix(
const std::string inputFileName);
31 Eigen::SparseMatrix<double> readMtxIntoSparseMatrix(
const std::string inputFileName);
35 void saveSparseMatrixIntoMtx(
const Eigen::SparseMatrix<double> &inputMatrix,
const std::string outputFileName);
44 void saveMatrixXdToBinary(
const Eigen::MatrixXd& inputMatrix,
const std::string outputFileName);
53 Eigen::MatrixXd readBinaryIntoMatrixXd(
const std::string inputFileName);
56 void saveVectorAsText(
const std::string outputFileName,
const std::vector<double> & inputVector);