Difference between revisions of "Ttclass/sum.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "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...")
 
m (Kuprov moved page Sum.m to Ttclass/sum.m without leaving a redirect)
(No difference)

Revision as of 15:41, 28 December 2017

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).