R/sptensor-utils.r
squeeze.Rd
Remove tensor dimensions of size 1
squeeze(x, todrop = NULL)
sptensor
specific dimensions to drop. If NULL, will drop all dimensions of size 1