class documentation
Like _ndptr, but with _shape_
and _dtype_
specified.
Notably, this means the pointer has enough information to reconstruct the array, which is not generally true.
Property | contents |
Get an ndarray viewing the data pointed to by this pointer. |
Method | _check |
This method is called when this class is used as the .restype attribute for a shared-library function, to automatically wrap the pointer into an array. |
Inherited from _ndptr
:
Class Method | from |
Undocumented |
Get an ndarray viewing the data pointed to by this pointer.
This mirrors the contents
attribute of a normal ctypes pointer