





"""simple docstring"""






from maths.is_square_free import is_square_free
from maths.prime_factors import prime_factors



def  __lowerCamelCase					(					lowerCAmelCase__				):
				A__							 =       prime_factors(lowerCAmelCase__				)
				if is_square_free(lowerCAmelCase__				):
								return -1 if len(lowerCAmelCase__				) % 2 else 1
				return 0


if __name__ == "__main__":
					import doctest

					doctest.testmod()










"""simple docstring"""






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()


