Difference between revisions of "Ttclass/numel.m"
(Normalise sequential blank lines) |
m (Repair ttclass function page template) |
||
| Line 1: | Line 1: | ||
| − | {{DISPLAYTITLE:ttclass/numel.m}} | + | {{DISPLAYTITLE:ttclass/numel.m}} __NOTOC__ |
| − | Number of elements in the matrix represented by a tensor train. | + | Number of elements in the matrix represented by a tensor |
| + | train. | ||
==Syntax== | ==Syntax== | ||
| Line 8: | Line 9: | ||
==Arguments== | ==Arguments== | ||
| − | tt | + | tt - tensor train object |
==Outputs== | ==Outputs== | ||
| − | n | + | n - an integer |
==Notes== | ==Notes== | ||
| − | + | for large spin systems, the result may be too large | |
| + | to fit into the 64-bit integer. | ||
==See also== | ==See also== | ||
Revision as of 17:04, 5 June 2026
Number of elements in the matrix represented by a tensor train.
Syntax
n=numel(tt)
Arguments
tt - tensor train object
Outputs
n - an integer
Notes
for large spin systems, the result may be too large
to fit into the 64-bit integer.
See also
Version 2.1, authors: Ilya Kuprov, Dmitry Savostyanov