Usage
getPackedArray(a, n)
setPackedArray!(a, n, x)
Signatures
getPackedArray: (Pointer, MachineInteger) % setPackedArray!: (Pointer, MachineInteger, %) ()
Parameter | Type | Description |
---|---|---|
a | Pointer | an array |
n | MachineInteger | an index |
x | % | a value |
Description
getPackedArray(a, n) returns the element at position n in a, while setPackedArray!(a, n, x) sets the element at position n in a. Note that both functions are 0-indexed.