


'''simple docstring'''



def      UpperCAmelCase__   (      UpperCAmelCase_       :							int				)	->						bool:
     if not isinstance(UpperCAmelCase_ ,       UpperCAmelCase_				):
          __lowerCamelCase  :      Union[str, Any]														=						F'Input value of [number={number}] must be an integer'
          raise TypeError(UpperCAmelCase_				)
     if number < 0:
          return False
     __lowerCamelCase  :      Tuple														=						number * number
     while number > 0:
          if number % 10 != number_square % 10:
               return False
          number //= 10
          number_square //= 10
     return True


if __name__ == "__main__":
      import doctest

      doctest.testmod()










import numpy as np




def       a_ (       SCREAMING_SNAKE_CASE__   : np.ndarray						,     SCREAMING_SNAKE_CASE__   : float	):
       '''simple docstring'''





       return np.where(vector > 0						,     SCREAMING_SNAKE_CASE__						,     (alpha * (np.exp(SCREAMING_SNAKE_CASE__	) - 1))	)


if __name__ == "__main__":
 import doctest

 doctest.testmod()


