[SciPy-user] extracting elements of a matrix using arrays as indices

Alan McIntyre alan.mcintyre@gmail....
Tue May 20 18:41:42 CDT 2008


On Tue, May 20, 2008 at 10:03 AM, Michael Hearne <mhearne@usgs.gov> wrote:
> I tried to find an example of how to do this, and the normally very
> helpful page at http://mathesaurus.sourceforge.net/matlab-numpy.html
> has this:
>
> a.take([0,2]).take([0,3], axis=1)

Does anybody know if this is something that would have worked properly
in an older version of Numeric/NumPy?


More information about the SciPy-user mailing list