Difference between revisions of "Ttclass/sum.m"
(Restore pre-bulk-edit wiki content) |
(Add See also section to function-description page) |
||
| Line 6: | Line 6: | ||
The sum is taken along the specified dimension (dim=1 or dim=2). | The sum is taken along the specified dimension (dim=1 or dim=2). | ||
| + | |||
| + | ==See also== | ||
| + | [[ttclass.m]], [[ttclass/mean.m]], [[ttclass/trace.m]], [[Tensor_train_module#Tensor_train_functions|Tensor train functions]] | ||
Revision as of 11:16, 25 April 2026
Sum of elements of a tensor train representation of a matrix. Syntax:
answer=sum(ttrain,dim)
The sum is taken along the specified dimension (dim=1 or dim=2).
See also
ttclass.m, ttclass/mean.m, ttclass/trace.m, Tensor train functions