Skip to content
Snippets Groups Projects
Commit a13f9049 authored by brinn's avatar brinn
Browse files

add: some documentation regarding the layout of native tagged arrays

SVN: 17362
parent 25e3c4cf
No related branches found
No related tags found
No related merge requests found
Tagged Array Definition:
All indices and lengths are given in bytes.
ID: number_type
START INDEX: 0
LENGTH: 1
DESCRIPTION:
'F' : IEEE floating point numbers
'I' : Integer numbers
ID: endiness
START INDEX: 1
LENGTH: 1
DESCRIPTION:
'L' : Little Endian
'B' : Big Endian
ID: element_size
START INDEX: 2
LENGTH: 1
DESCRIPTION:
Size in Bytes (e.g. 4 for a 32bit number, or 8 for a 64bit number)
ID: rank
START INDEX: 3
LENGTH: 1
DESCRIPTION:
Rank of the array (e.g. 2 for a matrix or 3 for a cube)
ID: dimensions
START INDEX: 4
LENGTH: 4 * rank
DESCRIPTION:
Dimensions of the array along each axis; each entry is a 32bit (4 byte) integer number in the specified endiness
ID: data
START INDEX: 4 + 4 * rank
LENGTH: prod(dimensions)
DESCRIPTION:
Number array with prod(dimensions) elements in C row-major order;
each element is a number of the specified number_type, endiness and element_size
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment