Converts a dense array into sparse array format.
Synopsis
g2-sparse-gather
(value-array: class quantity-array, index-array: class integer-array,
full-array: class quantity-array)
Example
In the following statement:
call g2-sparse-gather(v-array, i-array, f-array);
v-array and i-array are empty (no elements), and f-array = (0,0,0,0,1).The statement returns the following argument values:
v-array = (1)
i-array= (4)
f-array = (0,0,0,0,0)