(self, from_value, to_value)
return pbn_result
This function returns the persistent Betti numbers of the complex.
        :param from_value: The persistence birth limit to be added in the
            numbers (persistent birth <= from_value).
        :type from_value: float.
        :param to_value: The persistence death limit to be added in the
            numbers (persistent death > to_value).
        :type to_value: float.
        :returns: list of int -- The persistent Betti numbers ([B0, B1, ...,
            Bn]).
        :note: persistent_betti_numbers function requires persistence
            function to be launched first.
This function returns the persistent Betti numbers of the complex.
        :param from_value: The persistence birth limit to be added in the
            numbers (persistent birth <= from_value).
        :type from_value: float.
        :param to_value: The persistence death limit to be added in the
            numbers (persistent death > to_value).
        :type to_value: float.
        :returns: list of int -- The persistent Betti numbers ([B0, B1, ...,
            Bn]).
        :note: persistent_betti_numbers function requires persistence
            function to be launched first.
This function returns the persistent Betti numbers of the complex . : param from_value : The persistence birth limit to be added in the numbers ( persistent birth < = from_value ) . : type from_value : float . : param to_value : The persistence death limit to be added in the numbers ( persistent death > to_value ) . : type to_value : float . : returns : list of int -- The persistent Betti numbers ( [ B0 B1 ... Bn ] ) . : note : persistent_betti_numbers function requires persistence function to be launched first .
def persistent_betti_numbers(self, from_value, to_value):
        """This function returns the persistent Betti numbers of the complex.
        :param from_value: The persistence birth limit to be added in the
            numbers (persistent birth <= from_value).
        :type from_value: float.
        :param to_value: The persistence death limit to be added in the
            numbers (persistent death > to_value).
        :type to_value: float.
        :returns: list of int -- The persistent Betti numbers ([B0, B1, ...,
            Bn]).
        :note: persistent_betti_numbers function requires persistence
            function to be launched first.
        """
        pbn_result = []
        if self.pcohptr is not None:
            # pbn_result = self.pcohptr.persistent_betti_numbers(<double>from_value, <double>to_value)
            pbn_result = self.pcohptr.persistent_betti_numbers(from_value,
                                                               to_value)
        return pbn_result
def persistent_betti_numbers ( self , from_value , to_value ) : pbn_result = [ ] if self . pcohptr is not None : # pbn_result = self.pcohptr.persistent_betti_numbers(<double>from_value, <double>to_value) pbn_result = self . pcohptr . persistent_betti_numbers ( from_value , to_value ) return pbn_result