R/coordinates.R
sub2ind.Rd
Emulates the MATLAB function sub2ind.
sub2ind
sub2ind(dims, indices)
vector of dimensions of object to index into.
vector of n-dimensional indices.