[Numpy-discussion] C API : slicing?

Rahul Garg garg1@ualberta...
Thu May 29 09:01:55 CDT 2008


Hi.

Does the C api have some convenience functions for creating slices?
For example : if I have a PyArrayObject *A, which represents lets say  
a 2d ndarray A in Python, is there a C api function to easily do the  
equivalent of A[a:b:c,d:e:f] ?

thanks,
rahul


More information about the Numpy-discussion mailing list