powered by
Return the vector of modes from a tensor
# S4 method for Tensor dim(x)
the Tensor instance
an integer vector of the modes associated with x
x
dim(x)
# NOT RUN { tnsr <- rand_tensor() dim(tnsr) # }
Run the code above in your browser using DataLab