I have this function to vectorize:
if x >= y, then x*y else x/y
My code is:
def vector_function(x, y): if y >= x: