3#include <iolink/IOLinkAPI.h>
4#include <iolink/Indexer.h>
5#include <iolink/VectorX.h>
125 bool operator==(
const ArrayX& other)
const;
127 bool operator!=(
const ArrayX& other)
const;
A multi dimensionnal array.
Definition: ArrayX.h:31
const Indexer & indexer() const
Return the indexer instance used by the array.
void setAt(const VectorXu64 &index, T value)
Set a value to an element of the array.
std::string toString() const
Return a string representation.
T ValueType
The data type of array's elements.
Definition: ArrayX.h:36
ArrayX(const VectorXu64 &shape)
Create an array with the given shape.
size_t dimensionCount() const
The number of dimensions of the array.
void reshape(const VectorXu64 &shape)
Change the shape of the array.
T at(const VectorXu64 &index) const
Get an element of the array.
const VectorXu64 & shape() const
Return the shape of the array.
ArrayX(const Indexer &indexer)
Create an array with a memory layout fitting the given indexer.
const T * buffer() const
Return a pointer to the internal buffer.
This class is used to index a classic array into a multi dimensional array.
Definition: Indexer.h:36
A dynamically sized arithmetic vector.
Definition: VectorX.h:18
All IOLink symbols are enclosed in this namespace.
Definition: ArrayX.h:8