index shift in MTL matrices

Márcio Ricardo Pivello <[email protected]> Mon, 26 Sep 2005 11:42:57 +0000
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
Hi,

Is there a way to automatically change the matrix indexes in mtl? Say we
have 3 matrices: A(m,m) , B(n,n) and C(m+n,m+n) so that

C = [[A] [A+B]
[A-B] [B]]

If I write mtl::add(A,C) its OK, but I can't do the same with the other 3
operations, because of their indexes. Is there a way to do the necessary
shift to the matrices range automatically? I'm using itl 4.0.0-1 and
mtl-2.1.2-21.


Thanks in advance

Márcio Ricardo


--
Márcio Ricardo Pivello
Mechanical Engineer, MSc.
LTCM and CFD Lab
Mechanical Engineering School
Federal University of Uberlândia
Uberlândia - MG - Brazil

_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/