TT-Toolbox
TT-Toolbox copied to clipboard
The git repository for the TT-Toolbox
Hi Prof. Doglov, I am trying to preserve one sheet of a tensor and set the other entries to zero. Below there is an example code of what I am...
Hi, I usually get this error when I use ```amen_cross``` to approximate a function, especially when the dimension is large. Could you shed some lights on what the cause of...
bug in for-loop, starting from line 42. Problem was that the dimension n, was the n from a different tensor, which may for the first mode of the tensor be...
Thanks so much for writing this code! I am working on a possible application for my research but need C++ and so have been translating pieces of your code (with...
I tried to replicate some results from the "Approximation of 2^d x 2^d matrices" paper. There were results given for the approximate inverse of a 2D Laplacian with the Newton...
Consider the following example ``` M = 192; N = 64; tt_x = tt_tensor(reshape(randn(N,1), factor(N)), 1e-3); tt_P = tt_matrix(rand(M,N), 1e-3, factor(M), factor(N)); tt_P2 = tt_matrix(rand(M,N), 1e-3, [4, 2,2,2,2,3], factor(N)); %...
It seems that you forgot to run a command to generate documentation. Please run >> m2html('mfiles','tt2', 'htmldir','tt2/doc', 'recursive', 'on', 'global', 'on');
Line 16 of `tt_dot2.m` on branch TT2.2 contains the following ``` %---------------------------d=size(tt1,1); ``` It should be split into two lines like so - ``` %--------------------------- d=size(tt1,1); ``` That is the...
So Ivan believes that it's a distinctive bug in MATLAB version so on the same matrix, with the same inputs: x=amen_solve2(A,b,tol,'max_full_size',15000,'kickrank',10,'x0',b,'nswp',15,... 'resid_damp',1 ,'rmax',100); ttpy amen_solve: swp=1, max_dx= 1.999E+00, max_res= 1.999E+00,...