TTeMPS_to_TT Convert to TT Toolbox matrix format. TT = TT_to_TTeMPS( A ) takes the TTeMPS Laplace operator A and converts it into a tt_matrix object using the TT Toolbox 2.x from Oseledets et al. This toolbox needs to be installed, of course. See also TTeMPS_to_TT, TTeMPS_op_to_TT, TTeMPS_op_laplace_to_TTeMPS_op.
0001 function B = TTeMPS_op_laplace_to_TT_matrix( A ) 0002 %TTeMPS_to_TT Convert to TT Toolbox matrix format. 0003 % TT = TT_to_TTeMPS( A ) takes the TTeMPS Laplace operator A and converts it into 0004 % a tt_matrix object using the TT Toolbox 2.x from Oseledets et al. 0005 % This toolbox needs to be installed, of course. 0006 % 0007 % See also TTeMPS_to_TT, TTeMPS_op_to_TT, TTeMPS_op_laplace_to_TTeMPS_op. 0008 0009 % TTeMPS Toolbox. 0010 % Michael Steinlechner, 2013-2016 0011 % Questions and contact: michael.steinlechner@epfl.ch 0012 % BSD 2-clause license, see LICENSE.txt 0013 0014 B = TTeMPS_op_to_TT_matrix( TTeMPS_op_laplace_to_TTeMPS_op( A )); 0015 0016 end