[Numpy-discussion] Addressing arrays

Chao YUE chaoyuejoy at gmail.com
Mon Jan 30 10:27:06 EST 2012


I am afraid you have to write index inquire function by yourself. I did
like this.

chao

2012/1/30 Ted To <rainexpected at theo.to>

> Hi,
>
> Is there some straightforward way to access an array by values across a
> subset of its dimensions?  For example, if I have a three dimensional
> array a=(x,y,z), can I look at the values of z given particular values
> for x and y?
>
> Thanks,
> Ted
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



-- 
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120130/a3c81e4b/attachment.html>


More information about the NumPy-Discussion mailing list