Difference between revisions of "Ttclass/ranks.m"
(Add See also section to function-description page) |
(Normalise sequential blank lines) |
||
| Line 1: | Line 1: | ||
Returns the bond dimensions of a tensor train. Syntax: | Returns the bond dimensions of a tensor train. Syntax: | ||
| − | |||
| − | |||
ttranks=ranks(ttrain) | ttranks=ranks(ttrain) | ||
Revision as of 12:31, 25 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.
See also
ttclass.m, ttclass/sizes.m, ttclass/shrink.m, Tensor train functions