[SciPy-user] More elegant way to get indices of the max value in an?array?

Alan G Isaac aisaac at american.edu
Wed Oct 18 11:43:36 CDT 2006


On Wed, 18 Oct 2006, alan wrote
> return (r,c,argmax1d) 

That should have been a[r][c] or a[r,c] of course.
But better ideas have been floated.

Cheers,
Alan



More information about the SciPy-user mailing list