I know how to get a ctypes pointer to the beginning of a numpy array:
a = np.arange(10000, dtype=np.double)
p = a.ctypes.data_as(POINTER(c_double))
p.contents
c_double(0.0)
however, I need to pass the pointer to, let's say, element 100, without copying the array. There must be an easy way to do it but cannot find it.
Any hint appreciated.