Difference between revisions of "Ttclass/size.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise remaining wiki page to current Spinach source header)
(Restore pre-bulk-edit wiki content)
Line 1: Line 1:
{{DISPLAYTITLE:ttclass/size.m}} __NOTOC__
+
Returns the size of the matrix represented by a tensor train.
 +
Syntax:
 +
 
  
Returns the size of the matrix represented by a tensor train.
 
  
==Syntax==
+
    varargout=size(tt,dim)
  
varargout=size(tt,dim)
+
For large spin systems M and N may be too large to fit into
 +
the maximum integer permitted by Matlab.

Revision as of 15:50, 5 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.