(self, simplex, codimension)
return ct
Return the cofaces of a given N-simplex with a given codimension.
        :param simplex: The N-simplex, represented by a list of vertex.
        :type simplex: list of int.
        :param codimension: The codimension. If codimension = 0, all cofaces
            are returned (equivalent of get_star function)
        :type codimension: int.
        :returns:  The (simplices of the) cofaces of a simplex
        :rtype:  list of tuples(simplex, filtration)
Return the cofaces of a given N-simplex with a given codimension.
        :param simplex: The N-simplex, represented by a list of vertex.
        :type simplex: list of int.
        :param codimension: The codimension. If codimension = 0, all cofaces
            are returned (equivalent of get_star function)
        :type codimension: int.
        :returns:  The (simplices of the) cofaces of a simplex
        :rtype:  list of tuples(simplex, filtration)
Return the cofaces of a given N - simplex with a given codimension . : param simplex : The N - simplex represented by a list of vertex . : type simplex : list of int . : param codimension : The codimension . If codimension = 0 all cofaces are returned ( equivalent of get_star function ) : type codimension : int . : returns : The ( simplices of the ) cofaces of a simplex : rtype : list of tuples ( simplex filtration )
def get_cofaces(self, simplex, codimension):
        """Return the cofaces of a given N-simplex with a given codimension.
        :param simplex: The N-simplex, represented by a list of vertex.
        :type simplex: list of int.
        :param codimension: The codimension. If codimension = 0, all cofaces
            are returned (equivalent of get_star function)
        :type codimension: int.
        :returns:  The (simplices of the) cofaces of a simplex
        :rtype:  list of tuples(simplex, filtration)
        """
        csimplex = [i for i in simplex]
        cofaces = self.thisptr.get_cofaces(csimplex, codimension)
        ct = []
        for filtered_simplex in cofaces:
            v = [vertex for vertex in filtered_simplex[0]]
            ct.append((v, filtered_simplex[1]))
        return ct
def get_cofaces ( self , simplex , codimension ) : csimplex = [ i for i in simplex ] cofaces = self . thisptr . get_cofaces ( csimplex , codimension ) ct = [ ] for filtered_simplex in cofaces : v = [ vertex for vertex in filtered_simplex [ 0 ] ] ct . append ( ( v , filtered_simplex [ 1 ] ) ) return ct