
"""simple docstring"""




import numpy as np


def     __magic_name__      ( __snake_case							:			np.ndarray    )					->							np.ndarray:
       return 1 / (1 + np.exp(-vector    ))


def     __magic_name__      ( __snake_case							:			np.ndarray    )					->							np.ndarray:
       return vector * sigmoid(__snake_case    )


if __name__ == "__main__":
   import doctest

   doctest.testmod()




"""simple docstring"""




def     __magic_name__      ( __snake_case							:			int	,					__snake_case							:			int    )					->							Any:
       if b == 0:
              return 1
       if (b % 2) == 0:
              return actual_power(__snake_case	,					int(b / 2    )    ) * actual_power(__snake_case	,					int(b / 2    )    )
       else:
              return a * actual_power(__snake_case	,					int(b / 2    )    ) * actual_power(__snake_case	,					int(b / 2    )    )


def     __magic_name__      ( __snake_case							:			int	,					__snake_case							:			int    )					->							float:
       if b < 0:
              return 1 / actual_power(__snake_case	,					__snake_case    )
       return actual_power(__snake_case	,					__snake_case    )


if __name__ == "__main__":
   print(power(-2, -3))


