Home > tt2 > core > tt_random.m

tt_random

PURPOSE ^

Generates a random tensor

SYNOPSIS ^

function [tt]=tt_random(n,d,r)

DESCRIPTION ^

Generates a random tensor
   [TT]=TT_RANDOM(N,D,R) Generates a random tensor with dimensions specified
   by (N,D), where N can be a number of an array of dimension D, R is a
   rank or a array of dimension d+1


 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 [tt]=tt_random(n,d,r)
0002 %Generates a random tensor
0003 %   [TT]=TT_RANDOM(N,D,R) Generates a random tensor with dimensions specified
0004 %   by (N,D), where N can be a number of an array of dimension D, R is a
0005 %   rank or a array of dimension d+1
0006 %
0007 %
0008 % TT-Toolbox 2.2, 2009-2012
0009 %
0010 %This is TT Toolbox, written by Ivan Oseledets et al.
0011 %Institute of Numerical Mathematics, Moscow, Russia
0012 %webpage: http://spring.inm.ras.ru/osel
0013 %
0014 %For all questions, bugs and suggestions please mail
0015 %ivan.oseledets@gmail.com
0016 %---------------------------
0017 tt=tt_rand(n,d,r);
0018 return
0019 end

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