Ttclass/truncate.m

From Spinach Documentation Wiki
Jump to: navigation, search

Performs right-to-left SVD recompression for a tensor train. This should not be called directly, use ttclass/shrink.m instead.

Syntax

    ttout=truncate(tt)

Arguments

    tt - a tensor train object with tt.ntrains=1 and orthogonalised left-to-right

Outputs

    ttout - a tensor train object, orthogonalised right-to-left

Notes

Approximation tolerance (in Frobenius norm) is read from tt.tolerance property.

See also

ttclass.m, ttclass/amensum.m, ttclass/ttort.m, ttclass/shrink.m


Version 2.1, authors: Dmitry Savostyanov