PersistentLaplacians
Classes | Typedefs | Functions
PersistentLaplacians Namespace Reference

Classes

class  FilteredBoundaryMatrix
 
class  PersistentLaplacian
 
class  schur
 
class  ortho
 
class  selfadjoint
 
class  eigensolver
 
class  bdcsvd
 
struct  timer
 
struct  Profile
 
class  PersistentAlphaLaplacian
 
class  PersistentDirectedFlagLaplacian
 
class  PersistentRipsLaplacian
 
class  PersistentSheafLaplacian
 
class  sheaf_simplex_tree
 

Typedefs

using Simplex_tree = Gudhi::Simplex_tree< Gudhi::Simplex_tree_options_default >
 
using Filtration_value = Simplex_tree::Filtration_value
 
using Distance_matrix = std::vector< std::vector< Filtration_value > >
 

Functions

void round_zeros (spectra_vec &inout, spectra_type threshold)
 
void print_full_matrix_precise (SparseMatrixInt m)
 
void print_full_matrix_precise (Eigen::MatrixXi m)
 
void print_full_matrix_precise (SparseMatrix_PL m)
 
void print_full_matrix_precise (DenseMatrix_PL m)
 
void print_vector_precise (Eigen::VectorXd v)
 
void print_vector_precise (Eigen::VectorXf v)
 
void print_spectra (std::vector< std::tuple< int, filtration_type, filtration_type, std::vector< spectra_type >>> spectra)
 
void reindex_boundaries_map (std::vector< std::vector< std::tuple< int64_t, int64_t, int >>> &boundaries_triples, std::vector< SparseMatrixInt > &reindexed_boundaries, int dummy_remove)
 
void reindex_boundaries (std::vector< std::vector< std::tuple< int, int, int >>> &boundaries_triples, std::vector< SparseMatrixInt > &reindexed_boundaries, int dim_0_rows)
 
void alpha_points (std::vector< Point > &points, int dim_max, std::vector< std::vector< std::tuple< int, int, int >>> &boundaries_triples, std::vector< std::vector< filtration_type >> &filtrations)
 
void alpha_OFF (const char *filename, int dim_max, std::vector< std::vector< std::tuple< int, int, int >>> &boundaries_triples, std::vector< std::vector< filtration_type >> &filtrations)
 
Vertex_list from (const Cell_handle &ch)
 
Vertex_list from (const Facet &fct)
 
Vertex_list from (const Edge &edg)
 
Vertex_list from (const Alpha_shape_3::Vertex_handle &vh)
 
void get_boundaries_and_filtrations (Simplex_tree simplex_tree, int dim_max, std::vector< std::vector< std::tuple< int, int, int >>> &boundaries_triples, std::vector< std::vector< filtration_type >> &filtrations)
 
void print_full_matrix_precise (Eigen::MatrixXf m)
 
void print_vector_precise (spectra_vec v)
 
PersistentLaplacians::sheaf_simplex_tree rips_sheaf_simplex_tree (std::vector< std::vector< float >> points, Filtration_value max_length, std::function< float(Simplex_tree::Simplex_handle, Simplex_tree::Simplex_handle, sheaf_simplex_tree &)> restriction)
 

Typedef Documentation

◆ Distance_matrix

using PersistentLaplacians::Distance_matrix = typedef std::vector<std::vector<Filtration_value> >

◆ Filtration_value

using PersistentLaplacians::Filtration_value = typedef Simplex_tree::Filtration_value

◆ Simplex_tree

using PersistentLaplacians::Simplex_tree = typedef Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_default>

Function Documentation

◆ alpha_OFF()

void PersistentLaplacians::alpha_OFF ( const char *  filename,
int  dim_max,
std::vector< std::vector< std::tuple< int, int, int >>> &  boundaries_triples,
std::vector< std::vector< filtration_type >> &  filtrations 
)

◆ alpha_points()

void PersistentLaplacians::alpha_points ( std::vector< Point > &  points,
int  dim_max,
std::vector< std::vector< std::tuple< int, int, int >>> &  boundaries_triples,
std::vector< std::vector< filtration_type >> &  filtrations 
)

◆ from() [1/4]

Vertex_list PersistentLaplacians::from ( const Alpha_shape_3::Vertex_handle &  vh)

◆ from() [2/4]

Vertex_list PersistentLaplacians::from ( const Cell_handle ch)

◆ from() [3/4]

Vertex_list PersistentLaplacians::from ( const Edge edg)

◆ from() [4/4]

Vertex_list PersistentLaplacians::from ( const Facet fct)

◆ get_boundaries_and_filtrations()

void PersistentLaplacians::get_boundaries_and_filtrations ( Simplex_tree  simplex_tree,
int  dim_max,
std::vector< std::vector< std::tuple< int, int, int >>> &  boundaries_triples,
std::vector< std::vector< filtration_type >> &  filtrations 
)

◆ print_full_matrix_precise() [1/5]

void PersistentLaplacians::print_full_matrix_precise ( DenseMatrix_PL  m)

◆ print_full_matrix_precise() [2/5]

void PersistentLaplacians::print_full_matrix_precise ( Eigen::MatrixXf  m)

◆ print_full_matrix_precise() [3/5]

void PersistentLaplacians::print_full_matrix_precise ( Eigen::MatrixXi  m)

◆ print_full_matrix_precise() [4/5]

void PersistentLaplacians::print_full_matrix_precise ( SparseMatrix_PL  m)

◆ print_full_matrix_precise() [5/5]

void PersistentLaplacians::print_full_matrix_precise ( SparseMatrixInt  m)

◆ print_spectra()

void PersistentLaplacians::print_spectra ( std::vector< std::tuple< int, filtration_type, filtration_type, std::vector< spectra_type >>>  spectra)

◆ print_vector_precise() [1/3]

void PersistentLaplacians::print_vector_precise ( Eigen::VectorXd  v)

◆ print_vector_precise() [2/3]

void PersistentLaplacians::print_vector_precise ( Eigen::VectorXf  v)

◆ print_vector_precise() [3/3]

void PersistentLaplacians::print_vector_precise ( spectra_vec  v)

◆ reindex_boundaries()

void PersistentLaplacians::reindex_boundaries ( std::vector< std::vector< std::tuple< int, int, int >>> &  boundaries_triples,
std::vector< SparseMatrixInt > &  reindexed_boundaries,
int  dim_0_rows 
)

◆ reindex_boundaries_map()

void PersistentLaplacians::reindex_boundaries_map ( std::vector< std::vector< std::tuple< int64_t, int64_t, int >>> &  boundaries_triples,
std::vector< SparseMatrixInt > &  reindexed_boundaries,
int  dummy_remove 
)

◆ rips_sheaf_simplex_tree()

PersistentLaplacians::sheaf_simplex_tree PersistentLaplacians::rips_sheaf_simplex_tree ( std::vector< std::vector< float >>  points,
Filtration_value  max_length,
std::function< float(Simplex_tree::Simplex_handle, Simplex_tree::Simplex_handle, sheaf_simplex_tree &)>  restriction 
)

◆ round_zeros()

void PersistentLaplacians::round_zeros ( spectra_vec inout,
spectra_type  threshold 
)