blob: d7bd896e6d7c52444169183fcad1371a7dadce0c (
plain)
1
2
3
4
5
6
7
8
9
10
|
import numpy as np
exporting_object = np.arange(0, 15 * 10 * 20, dtype=np.intc).reshape((15, 10, 20))
cdef int[:, :, :] my_view = exporting_object
# These are all equivalent
my_view[10]
my_view[10, :, :]
my_view[10, ...]
|