There are several ways of referencing values. ArrayFire uses parenthesis for subscripted referencing instead of the traditional square bracket notation. Indexing is zero-based, i.e. the first element is at index zero (
A(0)). Indexing can be done with mixtures of:
See Indexing for the full listing.
You can set values in an array:
Use one array to reference into another.