ttclass/sum.m

From Spinach Documentation Wiki
Revision as of 14:13, 5 April 2026 by Kuprov (talk | contribs) (Normalise remaining wiki page to current Spinach source header)
Jump to: navigation, search


Sum of elements of a tensor train representation of a matrix.

Syntax

answer=sum(ttrain,dim)