




import numpy as np

def 					UpperCAmelCase_							(      __UpperCAmelCase						:	np.ndarray							)					-> np.ndarray:
      return 1 / (1 + np.exp(-vector							))

def 					UpperCAmelCase_							(      __UpperCAmelCase						:	np.ndarray							)					-> np.ndarray:
      return vector * sigmoid(__UpperCAmelCase							)


if __name__ == "__main__":
   import doctest

   doctest.testmod()





def 					UpperCAmelCase_							(      __UpperCAmelCase						:	int			,			__UpperCAmelCase						:	int							)					-> int:
      return number | (1 << position)

def 					UpperCAmelCase_							(      __UpperCAmelCase						:	int			,			__UpperCAmelCase						:	int							)					-> int:
      return number & ~(1 << position)

def 					UpperCAmelCase_							(      __UpperCAmelCase						:	int			,			__UpperCAmelCase						:	int							)					-> int:
      return number ^ (1 << position)

def 					UpperCAmelCase_							(      __UpperCAmelCase						:	int			,			__UpperCAmelCase						:	int							)					-> bool:
      return ((number >> position) & 1) == 1

def 					UpperCAmelCase_							(      __UpperCAmelCase						:	int			,			__UpperCAmelCase						:	int							)					-> int:
      return int((number & (1 << position)) != 0							)


if __name__ == "__main__":
   import doctest

   doctest.testmod()