(self)
return bn_result
Return the Betti numbers of the simplicial complex.
        :returns: The Betti numbers ([B0, B1, ..., Bn]).
        :rtype:  list of int
        :note: betti_numbers function requires
            :func:`persistence()<gudhi.SimplexTree.persistence>`
            function to be launched first.
Return the Betti numbers of the simplicial complex.
        :returns: The Betti numbers ([B0, B1, ..., Bn]).
        :rtype:  list of int
        :note: betti_numbers function requires
            :func:`persistence()<gudhi.SimplexTree.persistence>`
            function to be launched first.
Return the Betti numbers of the simplicial complex . : returns : The Betti numbers ( [ B0 B1 ... Bn ] ) . : rtype : list of int : note : betti_numbers function requires : func : persistence () <gudhi . SimplexTree . persistence > function to be launched first .
def betti_numbers(self):
        """Return the Betti numbers of the simplicial complex.
        :returns: The Betti numbers ([B0, B1, ..., Bn]).
        :rtype:  list of int
        :note: betti_numbers function requires
            :func:`persistence()<gudhi.SimplexTree.persistence>`
            function to be launched first.
        """
        bn_result = []
        if self.pcohptr is not None:
            bn_result = self.pcohptr.betti_numbers()
        else:
            print("`betti_numbers` requires persistence function to be "
                  "launched first.")
        return bn_result
def betti_numbers ( self ) : bn_result = [ ] if self . pcohptr is not None : bn_result = self . pcohptr . betti_numbers ( ) else : print ( "`betti_numbers` requires persistence function to be " "launched first." ) return bn_result