This is the problem I have faced when I am writing python code for sample entropy.
map(max, abs(a[i]-a) ) is very slow.
Is there any other function perform better than map() ?
Where a is ndarray that looks like np.array([ [1,2,3,4,5],[2,3,4,5,6],[3,4,5,3,2] ])
ahere? And is this Python 2.x or 3.x (map()is not the same in both)?import speed? Seriously though, what doesalook like and what is the required output?aanumpy.ndarray? (you can check this doingtype(a))...