GRID:INDICES
Syntax: GRID\INDICES\XYOUT x y z m xout yout
If output vectors, xout and yout, are desired, you must use the \XYOUT
qualifier. The coordinates of output matrix element m[i,j] will be
(xout[j],yout[i]), where xout contains the x-coordinates of each column
and yout contains the y-coordinates of each row. If the output matrix has
nc columns and nr rows, then xout = [1:nc], yout = [1:nr].
Suppose: X = [ 1; 4; 1; 3; 5 ]
Y = [ 2; 1; 6; 4; 6 ]
Z = [ 10; 15; 20; 25; 30 ]
After the command: GRID\INDICES X Y Z M
| 0, 0, 0, 15, 0 |
| 10, 0, 0, 0, 0 |
M = | 0, 0, 0, 0, 0 |
| 0, 0, 25, 0, 0 |
| 0, 0, 0, 0, 0 |
| 20, 0, 0, 0, 30 |