Home > tt2 > @qtt_tucker > vector.m

vector

PURPOSE ^

Transforms a QTT-Tucker matrix into QTT-Tucker vector

SYNOPSIS ^

function [qt]=vector(qt)

DESCRIPTION ^

Transforms a QTT-Tucker matrix into QTT-Tucker vector
   [QT]=VECTOR(QT) It just makes each factor of the Tucker decomposition a
   TT-tensor instead of the TT-matrix


 TT-Toolbox 2.2, 2009-2012

This is TT Toolbox, written by Ivan Oseledets et al.
Institute of Numerical Mathematics, Moscow, Russia
webpage: http://spring.inm.ras.ru/osel

For all questions, bugs and suggestions please mail
ivan.oseledets@gmail.com
---------------------------

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [qt]=vector(qt)
0002 %Transforms a QTT-Tucker matrix into QTT-Tucker vector
0003 %   [QT]=VECTOR(QT) It just makes each factor of the Tucker decomposition a
0004 %   TT-tensor instead of the TT-matrix
0005 %
0006 %
0007 % TT-Toolbox 2.2, 2009-2012
0008 %
0009 %This is TT Toolbox, written by Ivan Oseledets et al.
0010 %Institute of Numerical Mathematics, Moscow, Russia
0011 %webpage: http://spring.inm.ras.ru/osel
0012 %
0013 %For all questions, bugs and suggestions please mail
0014 %ivan.oseledets@gmail.com
0015 %---------------------------
0016 
0017 
0018 d = qt.dphys;
0019 for i=1:d
0020     qt.tuck{i} = tt_tensor(qt.tuck{i});
0021 end;
0022 
0023 end

Generated on Wed 08-Feb-2012 18:20:24 by m2html © 2005