ttclass/size.m
Returns the size of the matrix represented by a tensor train. The output mimics Matlab's size function.
Syntax
[m,n]=size(tt,dim)
Parameters
tt - a tensor train representation of a matrix
dim - (optional) integer specifying dimension
Outputs
m,n - integers specifying the dimensions
Notes
for large tt matrices, m and n may be too large to fit
into the maximum integer permitted by Matlab.
See also
ttclass.m, ttclass/sizes.m, ttclass/nnz.m, Tensor train functions
Version 2.1, authors: Dmitry Savostyanov, Ilya Kuprov