Difference between revisions of "Ttclass/ranks.m"
(Normalise sequential blank lines) |
m (Add missing Version/authors metadata and remove raw author emails) |
||
| Line 8: | Line 8: | ||
==See also== | ==See also== | ||
[[ttclass.m]], [[ttclass/sizes.m]], [[ttclass/shrink.m]], [[Tensor_train_module#Tensor_train_functions|Tensor train functions]] | [[ttclass.m]], [[ttclass/sizes.m]], [[ttclass/shrink.m]], [[Tensor_train_module#Tensor_train_functions|Tensor train functions]] | ||
| + | |||
| + | ''Version 2.1, authors: [[Dmitry Savostyanov]], [[Ilya Kuprov]]'' | ||
Revision as of 17:26, 5 June 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
Version 2.1, authors: Dmitry Savostyanov, Ilya Kuprov