class _concrete_ndptr(_ndptr):
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.
Method | _check_retval_ |
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. |
Property | contents |
Get an ndarray viewing the data pointed to by this pointer. |
Inherited from _ndptr
:
Class Method | from_param |
Undocumented |
Get an ndarray viewing the data pointed to by this pointer.
This mirrors the contents
attribute of a normal ctypes pointer