|
| ArrayX (const VectorXu64 &shape) |
| Create an array with the given shape.
|
|
| ArrayX (const Indexer &indexer) |
| Create an array with a memory layout fitting the given indexer.
|
|
| ArrayX (const ArrayX &other) |
|
ArrayX & | operator= (const ArrayX &other) |
|
| ArrayX (ArrayX &&other) noexcept |
|
ArrayX & | operator= (ArrayX &&other) noexcept |
|
size_t | dimensionCount () const |
| The number of dimensions of the array.
|
|
const VectorXu64 & | shape () const |
| Return the shape of the array.
|
|
const Indexer & | indexer () const |
| Return the indexer instance used by the array.
|
|
T | at (const VectorXu64 &index) const |
| Get an element of the array.
|
|
void | setAt (const VectorXu64 &index, T value) |
| Set a value to an element of the array.
|
|
void | reshape (const VectorXu64 &shape) |
| Change the shape of the array.
|
|
const T * | buffer () const |
| Return a pointer to the internal buffer.
|
|
T * | buffer () |
|
std::string | toString () const |
| Return a string representation.
|
|
bool | operator== (const ArrayX &other) const |
|
bool | operator!= (const ArrayX &other) const |
|
template<typename T>
class iolink::ArrayX< T >
A multi dimensionnal array.
This class should not be used as is, you must use its aliases or it will not work. The current aliases are:
- Arrayi8
- Arrayi16
- Arrayi32
- Arrayi64
- Arrayu8
- Arrayu16
- Arrayu32
- Arrayu64
- Arrayf
- Arrayd
- Template Parameters
-
T | The type of element stored in the array. |