python-cnorxz/cnorxz/base/range.pxd
Christian Zimmermann 50b09fa9c2 indices + arrays
2023-05-08 22:28:31 +02:00

11 lines
341 B
Cython

from libcpp.memory cimport shared_ptr
from array cimport cpp_MArray
from range cimport cpp_RangeBase
cdef extern from "ranges/ranges.h" namespace "CNORXZ":
cdef cppclass cpp_RangeBase "CNORXZ::RangeBase":
size_t size() except +
size_t dim() except +
cpp_MArray[shared_ptr[cpp_RangeBase]] sub() except+