another quick question

Sven Olsen <[email protected]> Tue, 02 Dec 2003 17:31:22 -0500
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
If I am working with a matrix of type:

typedef matrix< double, rectangle<>, array< compressed<> >, 
row_major >::type Matrix;

what is the easiest way to swap two of the rows?

I.E., I want to do something like
Matrix A(4,4);
/*initialize A*/
swap(A[0],A[1]);

Thanks,
	Sven

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