delarrcell
delarrcell |
Purpose
Delete an array entry.
Synopsis
int delarrcell(XPRMcontext ctx, XPRMarray array, const int indices[]);
Arguments
ctx
|
Mosel's execution context
|
array
|
Reference to an array
|
indices
|
n-tuple of indices where
n is the number of dimensions of the array
array (may be
NULL)
|
Return value
0 if executed successfully, a positive value otherwise (the array is not dynamic).
Further information
This function deletes the specified cell of a dynamic array (this cannot be done on a dense array). When used with a
NULL pointer as the set of indices the function deletes the entire array. In the case of a dense array the data will be reallocated after the first access to the array.