A data array is meant to keep track of numerical values while providing associated metadata such as size, tupleSize, data type, array name, component names and so on.
Structure
The possible data types are only available in the language itself as typed arrays:
Type | Bytes | C type |
---|---|---|
Int8Array | 1 8-bit | int8_t |
Uint8Array | 1 8-bit | uint8_t |
Uint8ClampedArray | 1 8-bit | uint8_t |
Int16Array | 2 16-bit | int16_t |
Uint16Array | 2 16-bit | uint16_t |
Int32Array | 4 32-bit | int32_t |
Uint32Array | 4 32-bit | uint32_t |
Float32Array | 4 32-bit | float |
Float64Array | 8 64-bit | double |
Scalar array in memory
{ |
Vector array in memory
{ |
Scalar array reference
Reference arrays are used within datasets that need to be fetched on the network
or written on disk.
The ref section provides the information needed to download the array and fill
it in memory.
{ |