Difference between revisions of "Ttclass/sum.m"
(Sync syntax/arguments/outputs with current Spinach source) |
(Normalise remaining wiki page to current Spinach source header) |
||
| Line 1: | Line 1: | ||
| − | + | {{DISPLAYTITLE:ttclass/sum.m}} __NOTOC__ | |
| + | Sum of elements of a tensor train representation of a matrix. | ||
| + | ==Syntax== | ||
| − | + | answer=sum(ttrain,dim) | |
| − | |||
| − | |||
Revision as of 14:13, 5 April 2026
Sum of elements of a tensor train representation of a matrix.
Syntax
answer=sum(ttrain,dim)