toponetx.SimplexView#

class toponetx.SimplexView[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.

Attributes:
max_dimint

Maximum dimension of the simplices in the SimplexView instance.

faces_dictlist of dict

A list containing dictionaries of faces for each dimension.

__init__() None[source]#

Methods

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.