Ttclass/sum.m
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).
See also
ttclass.m, ttclass/mean.m, ttclass/trace.m, Tensor train functions
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).
ttclass.m, ttclass/mean.m, ttclass/trace.m, Tensor train functions