46 #include <Eigen/Sparse> 52 using namespace Eigen;
59 Statistics(std::string _name, Eigen::VectorXd _VX,
int _iteration,
char *ptr_path =
PATH)
60 :name_(_name),iteration_(_iteration)
63 store_path_ =
string(ptr_path);
66 :name_(_name),iteration_(-1)
69 store_path_ =
string(ptr_path);
72 Statistics(std::string _name, Eigen::SparseMatrix<double> SpMat,
char *ptr_path =
PATH)
73 :name_(_name), iteration_(-1)
76 store_path_ =
string(ptr_path);
83 store_path_ =
string(ptr_path);
86 Statistics(std::string _name, std::vector<double> _stdvec,
char *ptr_path =
PATH)
87 : name_(_name), iteration_(-1)
90 store_path_ =
string(ptr_path);
94 void StreamVectorOutPut();
95 void StreamSpMatrixOutput();
96 void StreamDenMatrixOutput();;
98 void GenerateVectorFile();
99 void GenerateMatrixFile();
100 void GenerateSpFile();
101 void GenerateStdVecFile();
102 bool UniqueFileName();
115 #endif // STATISTICS_H
Eigen::SparseMatrix< double > SpMat_
Statistics(std::string _name, Eigen::VectorXd _VX, char *ptr_path=PATH)
Statistics(std::string _name, Eigen::SparseMatrix< double > SpMat, char *ptr_path=PATH)
std::vector< double > stdVec_
GLsizei const GLchar *const * string
Statistics(std::string _name, Eigen::MatrixXd Mat, char *ptr_path=PATH)
Statistics(std::string _name, Eigen::VectorXd _VX, int _iteration, char *ptr_path=PATH)
Statistics(std::string _name, std::vector< double > _stdvec, char *ptr_path=PATH)