I'm trying to return maximum values of multiple array in an element-wise comparison. For example:
A = array([0, 1, 2]) B = array([1, 0, 3]) C = array([3, 0, 4]) I want the resulting array to be array([3,1,4]).
I wanted to use numpy.maximum, but it is only good for two arrays. Is there a simple function for more than two arrays?