I have a randomly distributed points inside the ((0,1), (0,1)) domain. I need to find the corner values. (min along 0 axis, min along 1 axis) (max along 0 axis, min along 1 axis) (max along 0 axis, max along 1 axis) (min along 0 axis, max along 1 axis) The problem is in the simultanuosly searching the min/max values along the 2 axes. How to realize this simulataneous search in numpy?
import numpy as np
np.random.seed(42)
points = np.random.random((100,2))