xyztoi {RPMG} | R Documentation |
Matrix Index to Vector index
Description
Given ix, iy, iz index get I.
Usage
xyztoi(ix, iy,iz,nx, ny, nz)
Arguments
ix |
index to col vector |
iy |
index to row vector |
iz |
index to (depth) layer vector |
nx |
number of blocks in x axis |
ny |
number of blocks in y axis |
nz |
number of blocks in z axis (layers) |
Value
i |
Index of matrix |
Author(s)
Jonathan M. Lees<jonathan.lees.edu>
See Also
itoxyz
Examples
k = itoxyz(24, 6, 6, 1)
xyztoi(k$ix, k$iy, k$iz, 6, 6, 1)
nx = 20
ny = 20
nz = 40
k = itoxyz(2440, nx, ny, nz)
xyztoi(k$ix, k$iy, k$iz, nx, ny, nz )
[Package RPMG version 2.2-7 Index]