PETLS
Classes | Typedefs | Functions
petls Namespace Reference

Classes

class  Complex
 
class  FilteredBoundaryMatrix
 
struct  timer
 
struct  Profile
 
class  Alpha
 
class  dFlag
 
class  PersistentSheafLaplacian
 
class  Rips
 
class  sheaf_simplex_tree
 

Typedefs

using storage = int
 
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

template<typename storage >
void schur_algorithm (petls::FilteredBoundaryMatrix< storage > *fbm, filtration_type a, filtration_type b, DenseMatrix_PL &L_up)
 
spectra_vec SelfAdjointEigen (DenseMatrix_PL &L)
 
spectra_vec SelfAdjointEigenSparse (SparseMatrix_PL &L)
 
std::pair< spectra_vec, DenseMatrix_spectra_PL > SelfAdjointEigenpairsEigen (DenseMatrix_PL &L)
 
spectra_vec EigensolverEigen (DenseMatrix_PL &L)
 
spectra_vec BDCSVDEigen (DenseMatrix_PL &L)
 
spectra_vec DenseSymSpectra (DenseMatrix_PL &L)
 
void round_zeros (spectra_vec &inout, spectra_type threshold)
 
void print_full_matrix_precise (SparseMatrixInt m)
 
void print_full_matrix_precise (Eigen::MatrixXf 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)
 
bool matrix_is_diagonal (DenseMatrix_PL &M)
 
void print_spectra (std::vector< std::tuple< int, filtration_type, filtration_type, std::vector< spectra_type >>> spectra)
 
void reindex_boundaries (std::vector< std::vector< std::tuple< int, int, int >>> &boundaries_triples, std::vector< SparseMatrixInt > &reindexed_boundaries)
 
petls::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 petls::Distance_matrix = typedef std::vector<std::vector<Filtration_value> >

◆ Filtration_value

using petls::Filtration_value = typedef Simplex_tree::Filtration_value

◆ Simplex_tree

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

◆ storage

using petls::storage = typedef int

Function Documentation

◆ BDCSVDEigen()

spectra_vec petls::BDCSVDEigen ( DenseMatrix_PL &  L)

◆ DenseSymSpectra()

spectra_vec petls::DenseSymSpectra ( DenseMatrix_PL &  L)

◆ EigensolverEigen()

spectra_vec petls::EigensolverEigen ( DenseMatrix_PL &  L)

◆ matrix_is_diagonal()

bool petls::matrix_is_diagonal ( DenseMatrix_PL &  M)

◆ print_full_matrix_precise() [1/5]

void petls::print_full_matrix_precise ( DenseMatrix_PL  m)

◆ print_full_matrix_precise() [2/5]

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

◆ print_full_matrix_precise() [3/5]

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

◆ print_full_matrix_precise() [4/5]

void petls::print_full_matrix_precise ( SparseMatrix_PL  m)

◆ print_full_matrix_precise() [5/5]

void petls::print_full_matrix_precise ( SparseMatrixInt  m)

◆ print_spectra()

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

◆ print_vector_precise() [1/2]

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

◆ print_vector_precise() [2/2]

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

◆ reindex_boundaries()

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

◆ rips_sheaf_simplex_tree()

petls::sheaf_simplex_tree petls::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 petls::round_zeros ( spectra_vec &  inout,
spectra_type  threshold 
)

◆ schur_algorithm()

template<typename storage >
void petls::schur_algorithm ( petls::FilteredBoundaryMatrix< storage > *  fbm,
filtration_type  a,
filtration_type  b,
DenseMatrix_PL &  L_up 
)
inline

◆ SelfAdjointEigen()

spectra_vec petls::SelfAdjointEigen ( DenseMatrix_PL &  L)

◆ SelfAdjointEigenpairsEigen()

std::pair< spectra_vec, DenseMatrix_spectra_PL > petls::SelfAdjointEigenpairsEigen ( DenseMatrix_PL &  L)

◆ SelfAdjointEigenSparse()

spectra_vec petls::SelfAdjointEigenSparse ( SparseMatrix_PL &  L)