def _mix_simple(a, b, x):
 x = np.clip(x, 0.0, 1.0)
 return (((1.0 - x) * a) + (x * b))

def _mix_simple ( a , b , x ) : x = np . clip ( x , 0.0 , 1.0 ) return ( ( ( 1.0 - x ) * a ) + ( x * b ) )
mix b with a .