"""simple docstring"""

from maths.prime_factors import prime_factors






def      lowercase		(						a__	:		int     )						->   int:
					if not isinstance(lowerCAmelCase__ ,  lowerCAmelCase__     ):
										_UpperCamelCase      						=	F'''Input value of [number={number}] must be an integer'''
										raise TypeError(lowerCAmelCase__     )
					if number < 1:
										raise ValueError('''Input must be a positive integer'''     )
					return -1 if len(prime_factors(lowerCAmelCase__     )     ) % 2 else 1


if __name__ == "__main__":
		import doctest

		doctest.testmod()




"""simple docstring"""




import numpy as np

def        lowercase							(		lowerCAmelCase__ :     np.ndarray    ,					lowerCAmelCase__ :     float			) ->      np.ndarray:
		return np.where(vector > 0    ,					lowerCAmelCase__    ,					(alpha * (np.exp(lowerCAmelCase__			) - 1))			)


if __name__ == "__main__":
				import doctest

				doctest.testmod()






