24 void reindex_boundaries(std::vector<std::vector<std::tuple<int,int,int>>> &boundaries_triples,std::vector<SparseMatrixInt> &reindexed_boundaries);
28 std::chrono::_V2::steady_clock::time_point
start_t;
30 start_t = std::chrono::steady_clock::now();
33 auto end_t = std::chrono::steady_clock::now();
34 duration = (std::chrono::duration_cast<std::chrono::milliseconds>(end_t -
start_t)).count();
62 void to_csv(std::string filename);
Definition: Complex.cpp:26
void round_zeros(spectra_vec &inout, spectra_type threshold)
Definition: petls.cpp:14
void print_full_matrix_precise(SparseMatrixInt m)
Definition: petls.cpp:18
bool matrix_is_diagonal(DenseMatrix_PL &M)
Definition: petls.cpp:52
void reindex_boundaries(std::vector< std::vector< std::tuple< int, int, int >>> &boundaries_triples, std::vector< SparseMatrixInt > &reindexed_boundaries)
Definition: petls.cpp:80
void print_vector_precise(Eigen::VectorXd v)
Definition: petls.cpp:40
void print_spectra(std::vector< std::tuple< int, filtration_type, filtration_type, std::vector< spectra_type >>> spectra)
Definition: petls.cpp:65
void stop_sum_up_down()
Definition: petls.hpp:76
void start_sum_up_down()
Definition: petls.hpp:69
std::vector< int > L_rows
Definition: petls.hpp:56
std::vector< int > durations_L
Definition: petls.hpp:51
std::vector< int > bettis
Definition: petls.hpp:57
void stop_all()
Definition: petls.hpp:71
void stop_L_up()
Definition: petls.hpp:74
void start_eigs()
Definition: petls.hpp:65
void start_L_down()
Definition: petls.hpp:68
std::vector< spectra_type > lambdas
Definition: petls.hpp:58
timer L
Definition: petls.hpp:45
std::vector< int > dims
Definition: petls.hpp:40
void stop_L()
Definition: petls.hpp:73
std::vector< filtration_type > filtration_b
Definition: petls.hpp:42
std::vector< int > durations_all
Definition: petls.hpp:49
timer L_up
Definition: petls.hpp:46
std::vector< int > durations_L_down
Definition: petls.hpp:53
void stop_eigs()
Definition: petls.hpp:72
timer all
Definition: petls.hpp:43
void start_L_up()
Definition: petls.hpp:67
void start_L()
Definition: petls.hpp:66
std::vector< int > durations_eigs
Definition: petls.hpp:50
void to_csv(std::string filename)
Definition: petls.cpp:136
std::vector< filtration_type > filtration_a
Definition: petls.hpp:41
std::vector< int > durations_L_up
Definition: petls.hpp:52
void stop_L_down()
Definition: petls.hpp:75
timer L_down
Definition: petls.hpp:47
void start_all()
Definition: petls.hpp:64
std::vector< int > durations_sum_up_down
Definition: petls.hpp:54
timer sum_up_down
Definition: petls.hpp:48
timer eigs
Definition: petls.hpp:44
void stop()
Definition: petls.hpp:32
std::chrono::_V2::steady_clock::time_point start_t
Definition: petls.hpp:28
void start()
Definition: petls.hpp:29
int duration
Definition: petls.hpp:27
Eigen::Matrix< coefficient_type, Eigen::Dynamic, Eigen::Dynamic > DenseMatrix_PL
Definition: typedefs.hpp:14
Eigen::Matrix< spectra_type, Eigen::Dynamic, 1 > spectra_vec
Definition: typedefs.hpp:17
Eigen::SparseMatrix< coefficient_type, Eigen::ColMajor > SparseMatrix_PL
Definition: typedefs.hpp:13
float spectra_type
Definition: typedefs.hpp:11
Eigen::SparseMatrix< int, Eigen::ColMajor > SparseMatrixInt
Definition: typedefs.hpp:19
double filtration_type
Definition: typedefs.hpp:24