xyztoi | R Documentation |
Given ix, iy, iz index get I.
xyztoi(ix, iy,iz,nx, ny, nz)
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) |
i |
Index of matrix |
Jonathan M. Lees<jonathan.lees.edu>
itoxyz
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 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.