Difference between revisions of "Ttclass/ranks.m"
(Normalise remaining wiki page to current Spinach source header) |
(Restore pre-bulk-edit wiki content) |
||
| Line 1: | Line 1: | ||
| − | + | Returns the bond dimensions of a tensor train. Syntax: | |
| − | |||
| − | |||
| − | + | ttranks=ranks(ttrain) | |
| + | |||
| + | The output is (ncores+1) by (ntrains) array. The first | ||
| + | and the last elements for each train are 1. | ||
Revision as of 15:50, 5 April 2026
Returns the bond dimensions of a tensor train. Syntax:
ttranks=ranks(ttrain)
The output is (ncores+1) by (ntrains) array. The first and the last elements for each train are 1.