On Sat, Nov 8, 2008 at 5:35 PM, dmitrey <[EMAIL PROTECTED]> wrote:
> hi all,
> I have array A, A.ndim = n, and 1-dimensional array B of length n.
> How can I get element of A with coords B[0],...,B[n-1]?
> i.e. A[B[0], B[1], ..., B[n-1])
>
> A, B, n are not known till execution time, and can have u
hi all,
I have array A, A.ndim = n, and 1-dimensional array B of length n.
How can I get element of A with coords B[0],...,B[n-1]?
i.e. A[B[0], B[1], ..., B[n-1])
A, B, n are not known till execution time, and can have unpredictable
lengths (still n is usually small, no more than 4-5).
I have tr