|
PersistentLaplacians
|
#include <FilteredBoundaryMatrix.hpp>
Public Member Functions | |
| FilteredBoundaryMatrix (Eigen::SparseMatrix< FBMcoeff, Eigen::ColMajor > _matrix, std::vector< filtration_type > _domain_filtrations, std::vector< filtration_type > _range_filtrations) | |
| std::vector< filtration_type > | get_domain_filtrations () |
| std::vector< filtration_type > | get_range_filtrations () |
| FilteredBoundaryMatrix | transpose () |
| int | index_of_filtration (bool use_domain_filtrations, filtration_type a) |
| int | get_low (SparseMatrix_PL &matrix, int col_index) |
| void | submatrix_at_filtration (filtration_type a, Eigen::SparseMatrix< FBMcoeff, Eigen::ColMajor > &M) |
| std::tuple< SparseMatrix_PL, SparseMatrix_PL, std::vector< int >, int > | reduce (int a_row_index, int b_row_index, int b_col_index) |
| void | print_range_filtration () |
| void | print_domain_filtration () |
| void | print () |
Class for storing, manipulating, and retrieving the boundary matrix at different filtration levels
|
inline |
Constructor. Note: dimensions of filtrations and matrix must match.
| _matrix | boundary matrix d_n |
| _domain_filtrations | filtrations of n-simplices |
| _range_filtrations | filtrations of (n-1)-simplices |
|
inline |
Get the filtration values of n-simplices
|
inline |
|
inline |
Get the filtration values of (n-1)-simplices
|
inline |
Get the largest index where the corresponding filtration value is not more than a. If there are multiple simplices with the same filtration highest value, it will return the largest index.
| use_domain_filtrations | if true, iterate over the domain filtrations (n-simplices), if false over the range filtrations (n-1)-simplices |
| a | filtration value |
|
inline |
Print the underlying matrix for d_n.
|
inline |
Print the filtration values of (n-1)-simplices.
|
inline |
Print the filtration values of (n-1)-simplices.
|
inline |
|
inline |
Get the largest submatrix (by reference) that does not have corresponding filtration values greater than a.
| a | filtration value | |
| [out] | M | the submatrix. |
|
inline |
Get the transpose of the boundary matrix, which swaps the domain and range filtrations