def _lowess_tricube(t):
 t[:] = np.absolute(t)
 _lowess_mycube(t)
 t[:] = np.negative(t)
 t += 1
 _lowess_mycube(t)

def _lowess_tricube ( t ) : t [ : ] = np . absolute ( t ) _lowess_mycube ( t ) t [ : ] = np . negative ( t ) t += 1 _lowess_mycube ( t )
the _tricube function applied to a numpy array .