Difference between revisions of "Ttclass/size.m"

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

Revision as of 15:13, 5 April 2026


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

Syntax

varargout=size(tt,dim)