Difference between revisions of "Ttclass/size.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Add See also section to function-description page)
(Normalise sequential blank lines)
Line 1: Line 1:
 
Returns the size of the matrix represented by a tensor train.
 
Returns the size of the matrix represented by a tensor train.
 
Syntax:
 
Syntax:
 
 
  
 
     varargout=size(tt,dim)
 
     varargout=size(tt,dim)

Revision as of 12:31, 25 April 2026

Returns the size of the matrix represented by a tensor train. Syntax:

    varargout=size(tt,dim)

For large spin systems 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