Architecture question

Douglas Aberdeen <[email protected]> Tue, 7 Mar 2006 13:19:43 +1100
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
Dear MTL developers,

I've recently come across MTL and I'm starting to use it. It seems to  
be the only c++ matrix package that handles sparse and dense  
matricies in a fairly uniform way, with basic linear algebra  
supported seemlessly between matrix formats. So thank you!

There seem to be a couple of obvious things missing and I'm wondering  
if the architecture of MTL makes them bad, or if they are just things  
that the developers haven't gotten to?

In short, I find it weird to call routines like
	set_value(A, val);
	print_vector(x);
	print_all_matrix(A);
	copy(A, B);
It seems more intuitive (and notationally neater when using pointers  
to objects) to use
	A.set_value(val)
	cout<<x;
	cout<<A;
	B =  A.copy()

I understand the dangers of operator overloading in a matrix context,  
but things like stream operators should be okay?

I'm also wondering whether development is still active since the last  
sign of activity was a gcc 4.0 compliant version more than 6 months  
ago?	

--
Dr Douglas Aberdeen
Senior Researcher
Statistical Machine Learning


National ICT Australia Limited
Locked Bag 8001
Canberra ACT 2601
Tel. +61 2 6125 8647
Fax. +61 2 6125 8645
Email. [email protected]
Web. www.nicta.com.au

The imagination driving Australia's ICT future.

To receive the latest NICTA information register at http:// 
nicta.com.au/registration.cfm


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