def 				__lowerCamelCase		(						lowerCAmelCase__     ,  lowerCAmelCase__     ):
       lowerCAmelCase__					     = 0
       while b > 0:
              if b & 1:
                     res += a

              a += a
              b >>= 1

       return res






def 				__lowerCamelCase		(						lowerCAmelCase__     ,  lowerCAmelCase__     ,  lowerCAmelCase__     ):
       lowerCAmelCase__					     = 0
       while b > 0:
              if b & 1:
                     lowerCAmelCase__					     = ((res % c) + (a % c)) % c

              a += a
              b >>= 1

       return res

import numpy as np






def 				__lowerCamelCase		(						lowerCAmelCase__     ):
       return 1 / (1 + np.exp(-vector     ))






def 				__lowerCamelCase		(						lowerCAmelCase__     ):
       return vector * sigmoid(lowerCAmelCase__     )


if __name__ == "__main__":
    import doctest

    doctest.testmod()
