Difference between revisions of "Ttclass/mean.m"
(Normalise remaining wiki page to current Spinach source header) |
(Restore pre-bulk-edit wiki content) |
||
| Line 1: | Line 1: | ||
| − | + | Mean of elements of a tensor train representation of a | |
| + | matrix. Syntax: | ||
| + | |||
| − | |||
| − | |||
| − | = | + | answer=mean(ttrain,dim) |
| − | + | The mean value is computed along the specified dimension (dim=1 or dim=2). | |
Revision as of 15:50, 5 April 2026
Mean of elements of a tensor train representation of a matrix. Syntax:
answer=mean(ttrain,dim)
The mean value is computed along the specified dimension (dim=1 or dim=2).