[Numpy-discussion] C API : slicing?

Rahul Garg garg1 at ualberta.ca
Thu May 29 10:01:55 EDT 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