Difference between revisions of "Ttclass/size.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Kuprov moved page Size.m to Ttclass/size.m without leaving a redirect)
(Sync syntax/arguments/outputs with current Spinach source)
Line 2: Line 2:
 
Syntax:
 
Syntax:
  
                          [m,n]=size(tt,dim)
+
 
 +
    varargout=size(tt,dim)
  
 
For large spin systems M and N may be too large to fit into  
 
For large spin systems M and N may be too large to fit into  
 
the maximum integer permitted by Matlab.
 
the maximum integer permitted by Matlab.

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