DataToVector
DataToVector[data]
converts the non zero data to vector.
DataToVector[data,mask]
converts the data within the mask to vector. The data can be reconstructed using VectorToData. Output is the vectorized data and a list containing the original data dimensions and a list with the data coordinates. {vec, {dim,pos}}.
QMRITools`
QMRITools`
DataToVector
DataToVector[data]
converts the non zero data to vector.
DataToVector[data,mask]
converts the data within the mask to vector. The data can be reconstructed using VectorToData. Output is the vectorized data and a list containing the original data dimensions and a list with the data coordinates. {vec, {dim,pos}}.