Overview
C API (Component Interface)
struct Dimensions { const INT64* dims; UINT32 count; }; const INT64 DIM_ANY; const INT64 DIM_NONZERO; const INT64 DIM_ELLIPSIS; const INT64 DIM_ABSENT;

Used to communicate the dimensions of an array in BRAHMS. Only positive values are valid. Some constants (which resolve to negative values) are provided to specify constraints.

Fields

const INT64* dims
The list of dimensions.
UINT32 count
The number of dimensions in the list.

Constants

DIM_ANY
The specified dimension can take any value.
DIM_NONZERO
The specified dimension can take any value except zero.
DIM_ELLIPSIS
The specified dimension, and any following, may or may not be present.
DIM_ABSENT
Reserved for use by Dims, and language bindings. Do not use.