def chebyshev(u, v):
 u = _validate_vector(u)
 v = _validate_vector(v)
 return max(abs((u - v)))

def chebyshev ( u , v ) : u = _validate_vector ( u ) v = _validate_vector ( v ) return max ( abs ( ( u - v ) ) )
computes the chebyshev distance .