

"""simple docstring"""




def 						A							(  snake_case__		,					snake_case__ = 0     ):




			'''simple docstring'''


			SCREAMING_SNAKE_CASE__										=   length or len(snake_case__     )
			SCREAMING_SNAKE_CASE__										=   False
			for i in range(length - 1     ):
						if list_data[i] > list_data[i + 1]:
									SCREAMING_SNAKE_CASE__				,		SCREAMING_SNAKE_CASE__										=   list_data[i + 1], list_data[i]
									SCREAMING_SNAKE_CASE__										=   True

			return list_data if not swapped else bubble_sort(snake_case__		,					length - 1     )


if __name__ == "__main__":
						import doctest

						doctest.testmod()





"""simple docstring"""




import numpy as np

def 						A							(  snake_case__     ):




			'''simple docstring'''


			return (2 / (1 + np.exp(-2 * vector     ))) - 1


if __name__ == "__main__":
						import doctest

						doctest.testmod()


