|
| template<typename... Ix> |
| T * | mutable_data (Ix...ix) |
| | Mutable pointer access to the data at the given indices. More...
|
| |
| template<typename... Ix> |
| T & | operator() (Ix...index) |
| | Mutable, unchecked access to data at the given indices. More...
|
| |
| template<ssize_t D = Dims, typename = enable_if_t<D == 1 || Dynamic>> |
| T & | operator[] (ssize_t index) |
| |
| template<typename... Ix> |
| const T * | data (Ix...ix) const |
| | Pointer access to the data at the given indices. More...
|
| |
| ssize_t | nbytes () const |
| |
| ssize_t | ndim () const |
| | Returns the number of dimensions of the array. More...
|
| |
| template<typename... Ix> |
| const T & | operator() (Ix...index) const |
| |
| template<ssize_t D = Dims, typename = enable_if_t<D == 1 || Dynamic>> |
| const T & | operator[] (ssize_t index) const |
| |
| ssize_t | shape (ssize_t dim) const |
| | Returns the shape (i.e. size) of dimension dim More...
|
| |
| template<bool Dyn = Dynamic> |
| enable_if_t<!Dyn, ssize_t > | size () const |
| | Returns the total number of elements in the referenced array, i.e. the product of the shapes. More...
|
| |
| template<bool Dyn = Dynamic> |
| enable_if_t< Dyn, ssize_t > | size () const |
| |
template<typename T, ssize_t Dims>
class unchecked_mutable_reference< T, Dims >
Definition at line 416 of file numpy.h.
template<typename T , ssize_t Dims>
template<ssize_t D = Dims, typename = enable_if_t<D == 1 || Dynamic>>
Mutable, unchecked access data at the given index; this operator only participates if the reference is to a 1-dimensional array (or has runtime dimensions). When present, this is exactly equivalent to obj(index).
Definition at line 434 of file numpy.h.