(self)
return sum(bool(x.is_integer and x.is_negative) for x in self.ap)
Number of upper parameters that are negative integers

        This is a transformation invariant.
Number of upper parameters that are negative integers
Number of upper parameters that are negative integers
def gamma(self):
        """
        Number of upper parameters that are negative integers

        This is a transformation invariant.
        """
        return sum(bool(x.is_integer and x.is_negative) for x in self.ap)
def gamma ( self ) : return sum ( bool ( x . is_integer and x . is_negative ) for x in self . ap )