|
IOLink
IOL_v1.1.0_release
|
3 #include <iolink/IOLinkAPI.h>
4 #include <iolink/Indexer.h>
5 #include <iolink/VectorX.h>
A dynamically sized arithmetic vector.
Definition: VectorX.h:17
All IOLink symbols are enclosed in this namespace.
Definition: ArrayX.h:7
T ValueType
The data type of array's elements.
Definition: ArrayX.h:36
const T * buffer() const
Return a pointer to the internal buffer.
void reshape(const VectorXu64 &shape)
Change the shape of the array.
A multi dimensionnal array.
Definition: ArrayX.h:30
ArrayX(const VectorXu64 &shape)
Create an array with the given shape.
This class is used to index a classic array into a multi dimensional array.
Definition: Indexer.h:35
void setAt(const VectorXu64 &index, T value)
Set a value to an element of the array.
const Indexer & indexer() const
Return the indexer instance used by the array.
size_t dimensionCount() const
The number of dimensions of the array.
const VectorXu64 & shape() const
Return the shape of the array.
T at(const VectorXu64 &index) const
Get an element of the array.