itoxyz {RPMG} | R Documentation |
Vector Index to Matrix Index
Description
Given I index get ix,iy, iz for three dimensional grids.
Usage
itoxyz(i, nx, ny, nz)
Arguments
i |
index to long vector |
nx |
number of blocks in x axis |
ny |
number of blocks in y axis |
nz |
number of blocks in z axis (layers) |
Value
ix |
Index of X-array |
iy |
Index of Y-array |
iz |
Index of Z-array (layer) |
Author(s)
Jonathan M. Lees<jonathan.lees.edu>
See Also
xyztoi
Examples
itoxyz(24, 6, 6, 1)
kpos = itoxyz(2443:2500 , 20, 20, 13)
[Package RPMG version 2.2-7 Index]