(self, x, expo=0.5)
return ((s - a)**2)**(expo/2) + s/a + sum(x)/a
happy cat by HG Beyer
happy cat by HG Beyer
happy cat by HG Beyer
def ridgecircle(self, x, expo=0.5):
        """happy cat by HG Beyer"""
        a = len(x)
        s = sum(x**2)
        return ((s - a)**2)**(expo/2) + s/a + sum(x)/a
def ridgecircle ( self , x , expo = 0.5 ) : a = len ( x ) s = sum ( x ** 2 ) return ( ( s - a ) ** 2 ) ** ( expo / 2 ) + s / a + sum ( x ) / a