Usage
apply(a, n)
a.n
Signature
apply: (%, MachineInteger) T
Parameter | Type | Description |
---|---|---|
a | % | a linear structure |
n | MachineInteger | an index |
Returns
Returns the element ofwith index
. The position of that element depends on the indexing scheme of each actual type, for example if it is
-indexed, then
returns the
element of
, while if it is
-indexed, then
returns the
element of
.
Remarks
Bound checking depends on the actual type, some perform it and some do not.