Template Class LightSimplicialComplex

Nested Relationships

Nested Types

Class Documentation

template<typename index_type = size_t, typename hash_table = std::unordered_map<index_type, size_t>>
class LightSimplicialComplex

Public Functions

inline index_type max_vertex(index_type s, size_t dim) const
inline LightSimplicialComplex()
inline LightSimplicialComplex(const index_type n, const index_type k)
inline index_type maxdim() const
inline size_t ncells(size_t dim) const
inline size_t ncells() const
inline index_type simplex_key(const std::vector<index_type> &s) const
inline void key_to_simplex(const size_t dim, index_type key, std::vector<index_type> &s) const
inline std::vector<index_type> key_to_simplex(const size_t dim, index_type key) const
inline std::vector<index_type> get_simplex(const size_t dim, const size_t i) const
inline void get_simplex(const size_t dim, const size_t i, std::vector<index_type> &s) const
inline auto get_cell(size_t dim, size_t i, std::vector<index_type> &s) const
inline auto get_cell(size_t dim, size_t i) const
inline std::vector<std::vector<index_type>> get_simplices(const size_t dim) const
inline std::vector<std::vector<size_t>> get_simplices() const
inline size_t find_idx(const size_t dim, const index_type key) const
inline size_t find_idx(const std::vector<index_type> &s) const
inline cell_ind add_unsafe(const size_t dim, const index_type k)
inline cell_ind add(const size_t dim, const index_type k)
inline cell_ind add_unsafe(const std::vector<index_type> &s)
inline auto add(const std::vector<index_type> &s)
inline std::vector<cell_ind> add_recursive(size_t dim, const index_type k)
inline std::vector<cell_ind> add_recursive(const std::vector<index_type> &s)
inline auto simplex_begin(const size_t dim, const size_t i) const
inline auto simplex_end(const size_t dim, const size_t i) const
inline auto boundary(const size_t dim, const size_t i) const
inline CSCMatrix<int, size_t> boundary_csc(const size_t dim) const
inline void print_summary() const