PersistentLaplacians
Public Member Functions | List of all members
PersistentLaplacians::PersistentRipsLaplacian< eigs_Algorithm, up_Algorithm > Class Template Reference

#include <PersistentRipsLaplacian.hpp>

Inheritance diagram for PersistentLaplacians::PersistentRipsLaplacian< eigs_Algorithm, up_Algorithm >:
PersistentLaplacians::PersistentLaplacian< eigs_Algorithm, up_Algorithm >

Public Member Functions

 PersistentRipsLaplacian (const char *filename, int max_dim)
 
 PersistentRipsLaplacian (const char *filename, int max_dim, float threshold)
 
 PersistentRipsLaplacian (std::vector< std::vector< double >> points, int max_dim)
 
 PersistentRipsLaplacian (std::vector< std::vector< double >> points, int max_dim, float threshold)
 
- Public Member Functions inherited from PersistentLaplacians::PersistentLaplacian< eigs_Algorithm, up_Algorithm >
 PersistentLaplacian ()
 
 PersistentLaplacian (std::vector< SparseMatrixInt > boundaries, std::vector< std::vector< filtration_type >> filtrations)
 
 ~PersistentLaplacian ()
 
void set_boundaries_filtrations (std::vector< SparseMatrixInt > boundaries, std::vector< std::vector< filtration_type >> filtrations)
 
void set_verbose (bool verbose)
 
void set_flipped (bool use_flipped)
 
void get_L (int dim, filtration_type a, filtration_type b, DenseMatrix_PL &L)
 
DenseMatrix_PL get_L (int dim, filtration_type a, filtration_type b)
 
void get_L_top_dim_flipped (filtration_type a, SparseMatrix_PL &L)
 
SparseMatrix_PL get_L_top_dim_flipped (filtration_type a)
 
void get_up (int dim, filtration_type a, filtration_type b, DenseMatrix_PL &L_up)
 
DenseMatrix_PL get_up (int dim, filtration_type a, filtration_type b)
 
void get_down (int dim, filtration_type a, SparseMatrix_storage &L_down)
 
SparseMatrix_storage get_down (int dim, filtration_type a)
 
std::vector< spectra_typenonzero_spectra (int dim, filtration_type a, filtration_type b, SparseMatrixFloat PH_basis, bool use_dummy_harmonic_basis)
 
std::vector< spectra_typespectra (int dim, filtration_type a, filtration_type b)
 
std::vector< std::tuple< int, filtration_type, filtration_type, std::vector< spectra_type > > > spectra ()
 
std::vector< std::tuple< int, filtration_type, filtration_type, std::vector< spectra_type > > > spectra (std::vector< std::tuple< int, filtration_type, filtration_type >> spectra_request_list)
 
std::pair< std::vector< spectra_type >, DenseMatrix_PLeigenpairs (int dim, filtration_type a, filtration_type b)
 
std::vector< std::tuple< int, filtration_type, filtration_type, std::vector< spectra_type >, DenseMatrix_PL > > eigenpairs ()
 
std::vector< std::tuple< int, filtration_type, filtration_type, std::vector< spectra_type >, DenseMatrix_PL > > eigenpairs (std::vector< std::tuple< int, filtration_type, filtration_type >> spectra_request_list)
 
std::pair< int, spectra_typeeigenvalues_summarize (std::vector< spectra_type > eigenvalues)
 
void store_L (int dim, filtration_type a, filtration_type b, std::string filename)
 
void print_boundaries ()
 
void store_spectra (std::vector< std::tuple< int, filtration_type, filtration_type, std::vector< spectra_type >>> spectra, std::string out_prefix)
 
void store_spectra_summary (std::vector< std::tuple< int, filtration_type, filtration_type, std::vector< spectra_type >>> spectra, std::string out_prefix)
 
std::vector< std::tuple< int, filtration_type, filtration_type > > filtration_list_to_spectra_request (std::vector< filtration_type > filtrations, std::vector< int > dims)
 
std::vector< filtration_typeget_all_filtrations ()
 

Additional Inherited Members

- Public Attributes inherited from PersistentLaplacians::PersistentLaplacian< eigs_Algorithm, up_Algorithm >
int top_dim
 Top dimension of the complex. More...
 
std::vector< FilteredBoundaryMatrix< storage > > filtered_boundaries
 Boundary matrix assuming real (or integer) coefficients. More...
 
bool verbose
 Print progress if spectra() is called. More...
 
bool use_flipped
 Compute the top-dimensional Laplacian's eigenvalues in spectra function via the eigenvalues of the smaller of B_N B_N^T or B_N^T B_N and possible zero-padding. More...
 
Profile profile
 Profiler to track time usage of various steps. More...
 
- Protected Member Functions inherited from PersistentLaplacians::PersistentLaplacian< eigs_Algorithm, up_Algorithm >
PersistentLaplacians::FilteredBoundaryMatrix< storagedummy_d0 ()
 

Constructor & Destructor Documentation

◆ PersistentRipsLaplacian() [1/4]

template<typename eigs_Algorithm , typename up_Algorithm >
PersistentLaplacians::PersistentRipsLaplacian< eigs_Algorithm, up_Algorithm >::PersistentRipsLaplacian ( const char *  filename,
int  max_dim 
)
inline

◆ PersistentRipsLaplacian() [2/4]

template<typename eigs_Algorithm , typename up_Algorithm >
PersistentLaplacians::PersistentRipsLaplacian< eigs_Algorithm, up_Algorithm >::PersistentRipsLaplacian ( const char *  filename,
int  max_dim,
float  threshold 
)
inline

◆ PersistentRipsLaplacian() [3/4]

template<typename eigs_Algorithm , typename up_Algorithm >
PersistentLaplacians::PersistentRipsLaplacian< eigs_Algorithm, up_Algorithm >::PersistentRipsLaplacian ( std::vector< std::vector< double >>  points,
int  max_dim 
)
inline

◆ PersistentRipsLaplacian() [4/4]

template<typename eigs_Algorithm , typename up_Algorithm >
PersistentLaplacians::PersistentRipsLaplacian< eigs_Algorithm, up_Algorithm >::PersistentRipsLaplacian ( std::vector< std::vector< double >>  points,
int  max_dim,
float  threshold 
)
inline

The documentation for this class was generated from the following file: