Extract values from a matricized (x,y,z) of a 4D tensor using a space-time coordinate matrix.
Source:R/all_generic.R
, R/sparse_neurovec.R
matricized_access-methods.Rd
This function extracts the values of the elements in a 4D tensor, where the first three dimensions
(x,y,z) have been matricized into a single dimension, using a space-time coordinate matrix.
The input i
is an index matrix, where each row specifies a (x,y,z,t) coordinate.
The output is a vector containing the values of the elements in x
at the specified
space-time coordinates.
Usage
matricized_access(x, i, ...)
# S4 method for class 'SparseNeuroVec,matrix'
matricized_access(x, i)
# S4 method for class 'SparseNeuroVec,integer'
matricized_access(x, i)
# S4 method for class 'SparseNeuroVec,numeric'
matricized_access(x, i)
# S4 method for class 'BigNeuroVec,matrix'
matricized_access(x, i)
# S4 method for class 'BigNeuroVec,integer'
matricized_access(x, i)
# S4 method for class 'BigNeuroVec,numeric'
matricized_access(x, i)