function n = ndims(t)
%NDIMS Number of modes for a symktensor.
%
%   NDIMS(T) returns the number of modes of symktensor T.
%
%   See also SYMKTENSOR
%
%Tensor Toolbox for MATLAB: <a href="https://www.tensortoolbox.org">www.tensortoolbox.org</a>



n = t.m;
