#NEWLINE# def _exp( x , fun_args ) : #NEWLINE# #INDENT# exp = np . exp ( ( ( - ( x ** 2 ) ) / 2 ) ) #NEWLINE# gx = ( x * exp ) #NEWLINE# g_x = ( ( 1 - ( x ** 2 ) ) * exp ) #NEWLINE# return ( gx , g_x . mean ( axis = ( - 1 ) ) )