Difference between revisions of "Ttclass/mean.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Restore pre-bulk-edit wiki content)
(Add See also section to function-description page)
Line 7: Line 7:
  
 
The mean value is computed along the specified dimension (dim=1 or dim=2).
 
The mean value is computed along the specified dimension (dim=1 or dim=2).
 +
 +
==See also==
 +
[[ttclass.m]], [[ttclass/sum.m]], [[ttclass/trace.m]], [[Tensor_train_module#Tensor_train_functions|Tensor train functions]]

Revision as of 12:16, 25 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).

See also

ttclass.m, ttclass/sum.m, ttclass/trace.m, Tensor train functions