Home > tt2 > @tt_tensor > numel1.m

numel1

PURPOSE ^

Number of elements in the TT-tensors

SYNOPSIS ^

function [nm]=numel1(tt)

DESCRIPTION ^

Number of elements in the TT-tensors 
   [NM]=NUMEL1(TT) Number of elements in a TT-tensors, i.e., product 
   of all its sizes


 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 [nm]=numel1(tt)
0002 %Number of elements in the TT-tensors
0003 %   [NM]=NUMEL1(TT) Number of elements in a TT-tensors, i.e., product
0004 %   of all its sizes
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 nm=prod(size(tt));
0018 return
0019 end

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