ARM Compute Library
17.04
|
Coordinates of an item. More...
#include <Coordinates.h>
Public Member Functions | |
constexpr | Coordinates (const Coordinates &)=default |
Allow instances of this class to be copy constructed. More... | |
Coordinates & | operator= (const Coordinates &)=default |
Allow instances of this class to be copied. More... | |
constexpr | Coordinates (Coordinates &&)=default |
Allow instances of this class to be move constructed. More... | |
Coordinates & | operator= (Coordinates &&)=default |
Allow instances of this class to be moved. More... | |
~Coordinates ()=default | |
Default destructor. More... | |
Public Member Functions inherited from Dimensions< int > | |
Dimensions (const Dimensions &)=default | |
Allow instances of this class to be copy constructed. More... | |
Dimensions (Dimensions &&)=default | |
Allow instances of this class to be move constructed. More... | |
Dimensions & | operator= (const Dimensions &)=default |
Allow instances of this class to be copied. More... | |
Dimensions & | operator= (Dimensions &&)=default |
Allow instances of this class to be moved. More... | |
virtual | ~Dimensions ()=0 |
Pure virtual destructor. More... | |
void | set (size_t dimension, intvalue) |
Accessor to set the value of one of the dimensions. More... | |
int | x () const |
Alias to access the size of the first dimension. More... | |
int | y () const |
Alias to access the size of the second dimension. More... | |
int | z () const |
Alias to access the size of the third dimension. More... | |
int | operator[] (size_t dimension) const |
Generic accessor to get the size of any dimension. More... | |
unsigned int | num_dimensions () const |
Returns the effective dimensionality of the tensor. More... | |
void | set_num_dimensions (size_t num_dimensions) |
Set number of dimensions. More... | |
std::array< int, num_max_dimensions >::iterator | begin () |
Returns a read/write iterator that points to the first element in the dimension array. More... | |
std::array< int, num_max_dimensions >::const_iterator | begin () const |
Returns a read-only (constant) iterator that points to the first element in the dimension array. More... | |
std::array< int, num_max_dimensions >::const_iterator | cbegin () const |
Returns a read-only (constant) iterator that points to the first element in the dimension array. More... | |
std::array< int, num_max_dimensions >::iterator | end () |
Returns a read/write iterator that points one past the last element in the dimension array. More... | |
std::array< int, num_max_dimensions >::const_iterator | end () const |
Returns a read-only (constant) iterator that points one past the last element in the dimension array. More... | |
std::array< int, num_max_dimensions >::const_iterator | cend () const |
Returns a read-only (constant) iterator that points one past the last element in the dimension array. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from Dimensions< int > | |
static constexpr size_t | num_max_dimensions |
Number of dimensions the tensor has. More... | |
Coordinates of an item.
Definition at line 37 of file Coordinates.h.
|
default |
Allow instances of this class to be copy constructed.
|
default |
Allow instances of this class to be move constructed.
|
default |
Default destructor.
|
default |
Allow instances of this class to be copied.
|
default |
Allow instances of this class to be moved.