toponetx.SimplexView#

class toponetx.SimplexView(simplex_trie: SimplexTrie)[source]#

Bases: AtomView[Simplex]

Simplex View class.

The SimplexView class is used to provide a view/read only information into a subset of the nodes in a simplex. These classes are used in conjunction with the SimplicialComplex class for view/read only purposes for simplices in simplicial complexes.

Parameters:
simplex_trieSimplexTrie

A SimplexTrie instance containing the simplices in the simplex view.

Attributes:
shape

Return the number of simplices in each dimension.

__init__(simplex_trie: SimplexTrie) None[source]#

Methods

__init__(simplex_trie)

Attributes

shape

Return the number of simplices in each dimension.

property shape: tuple[int, ...]#

Return the number of simplices in each dimension.

Returns:
tuple of ints

A tuple of integers representing the number of simplices in each dimension.