#NEWLINE# @ staticmethod #NEWLINE# def _f( x ) : #NEWLINE# #INDENT# y = x . copy ( ) #NEWLINE# ind = ( x > ( ( 6.0 / 29.0 ) ** 3 ) ) #NEWLINE# y [ ind ] = ( x [ ind ] ** ( 1.0 / 3.0 ) ) #NEWLINE# ind = np . logical_not ( ind ) #NEWLINE# y [ ind ] = ( ( ( ( 1.0 / 3.0 ) * ( ( 29.0 / 6.0 ) ** 2 ) ) * y ) + ( 4.0 / 29.0 ) ) #NEWLINE# return y