Ttclass/mean.m

From Spinach Documentation Wiki
Revision as of 17:26, 5 June 2026 by Kuprov (talk | contribs) (Add missing Version/authors metadata and remove raw author emails)
Jump to: navigation, search

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

Version 2.1, authors: Dmitry Savostyanov