powered by
Coverts a vector, matrix, or list of array indices to linear indices.
vec_index(x, dims)vec_index_one(x, cumdims)
vec_index_one(x, cumdims)
vector, matrix, or list of numeric indices
dimensions
cumulative size of tensor