from simplextree import SimplexTree
= SimplexTree([range(3)])
st print(st)
Simplex Tree with (3, 3, 1) (0, 1, 2)-simplices
Removes simplices into the Simplex Tree.
By definition, removing a face also removes all of its cofaces. If the simplex does not exist in the complex, the tree is not modified.
Name | Type | Description | Default |
---|---|---|---|
simplices | Iterable[Collection] | Iterable of simplices to insert (each of which are SimplexLike). | required |
If the iterable is an 2-dim np.ndarray, then a p-simplex is removed along each contiguous p+1 stride.
Otherwise, each element of the iterable to casted to a Simplex and then removed from the tree.
Simplex Tree with (3, 3, 1) (0, 1, 2)-simplices