Usage
resize!(a, n, m)
Signature
resize!: (%,MachineInteger,MachineInteger) %
Parameter | Type | Description |
---|---|---|
a | % | a primitive array |
n, m | MachineInteger | nonnegative sizes |
Returns
Returns a primitive array ofentries, whose first
entries are the first
entries of
and whose remaining entries are uninitialized.
Remarks
resize! may free the space previously used by, so it is unsafe to use the variable
after the call, unless it has been assigned to the result of the call, as in a := resize!(a, n, m).