petls.sheaf_simplex_tree.coface_index#

sheaf_simplex_tree.coface_index(simplex, coface)[source]#

Get the index of the missing vertex, e.g. coface_index([0,1,3],[0,1,2,3]) = 2.

Parameters:
simplexlist[int]

simplex

cofacelist[int]

coface

Returns:
int

Index of the missing vertex