|
|
| array_t (handle h, borrowed_t) |
| |
|
| array_t (handle h, stolen_t) |
| |
|
| array_t (handle h, bool is_borrowed) |
| |
|
| array_t (const object &o) |
| |
|
| array_t (const buffer_info &info, handle base=handle()) |
| |
|
| std::move (strides) |
| |
| PyObject * | ptr () const |
| | Return the underlying PyObject * pointer. More...
|
| |
|
PyObject *& | ptr () |
| |
|
| std::move (shape) |
| |
|
void | fail_dim_check (ssize_t dim, const std::string &msg) const |
| |
|
template<typename... Ix> |
| ssize_t | byte_offset (Ix...index) const |
| |
|
void | check_writeable () const |
| |
|
template<typename... Ix> |
| void | check_dimensions (Ix...index) const |
| |
|
void | check_dimensions_impl (ssize_t, const ssize_t *) const |
| |
|
template<typename... Ix> |
| void | check_dimensions_impl (ssize_t axis, const ssize_t *shape, ssize_t i, Ix...index) const |
| |
|
buffer_info | request (bool writable=false) const |
| |
|
| PYBIND11_DEPRECATED ("Use reinterpret_borrow<object>() or reinterpret_steal<object>()") object(handle h |
| |
| handle | release () |
| |
|
template<typename T > |
| T | cast () const & |
| |
|
template<typename T > |
| T | cast ()&& |
| |
| const handle & | inc_ref () const & |
| |
| const handle & | dec_ref () const & |
| |
| | operator bool () const |
| | Return true when the handle wraps a valid Python object. More...
|
| |
| bool | operator== (const handle &h) const |
| |
|
bool | operator!= (const handle &h) const |
| |
|
bool | check () const |
| |
template<typename T, int ExtraFlags = array::forcecast>
class array_t< T, ExtraFlags >
Definition at line 835 of file numpy.h.