


'''simple docstring'''

import numpy as np





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





def __snake_case      (   UpperCAmelCase_		:		np.ndarray	):
 return vector * sigmoid(UpperCAmelCase_	)


if __name__ == "__main__":
     import doctest

     doctest.testmod()







'''simple docstring'''

def __snake_case      (   UpperCAmelCase_		:		int = 100	):
 lowerCamelCase_  				=						n * (n + 1) * (2 * n + 1) / 6
 lowerCamelCase_  				=						(n * (n + 1) / 2) ** 2
 return int(square_of_sum - sum_of_squares	)


if __name__ == "__main__":
     print(f'''{solution() = }''')



