Shrink.m

From Spinach Documentation Wiki
Jump to: navigation, search

Approximates a given tensor train with lower TT-ranks. Syntax:

                        ttrain=shrink(ttrain)

Returns a single tensor train with right-to-left orthogonalisation.