26 std::vector<CSC_MATRIX> getSubMatrices(
Graph G);
45 int saveMatrixToFile(
CSC_MATRIX A,std::string filename);
46 std::vector<CSC_MATRIX> divideVec(
CSC_MATRIX X);
47 int writeTimingToFile(std::vector<std::vector<double> >& timeKeeper, std::string filename,
int coarsen_levels);
49 std::vector<double> CSC_globalMatVec(std::vector<CSC_MATRIX> Mats,std::vector<CSC_MATRIX> X);
50 CSC_MATRIX convertVecToCSC(std::vector<double> b);
53 int applyScalar(std::vector<double> & v,
double Scalar);
54 int addVector(std::vector<double> & b,std::vector<double> v);
55 double computeResidual(std::vector<double> bn1,std::vector<double> bn);
56 std::vector<double> iterSolver(
Graph G,std::vector<double> v,
double alpha);
57 int reorderVec(std::vector<double> &b, std::vector<int> indMap);
58 int saveCSCMatrixToFile(
Graph G,std::string filename);
TODO: Give description of Graph class and add comments to each function.
Definition: graph.h:37
Defines class for a graph object and struct for a matrix stored in compact sparse column format...
Struct defining matrix in Compact Sparse Column (CSC) format.
Definition: graph.h:22