Re: OON: RE: alpha release of MET, C++ matrix with expression templates

From: Masakatsu ITO (mito@masa.ims.ac.jp)
Date: Fri Feb 16 2001 - 00:02:41 EST


Oleg, Thank you for your good examples. I did not expect the first one,
but now I've added the assignment operator to
the transposed matrix class, TransMat<NumType> and
have confirmed all of your examples can be compiled with MET.

From: Oleg Trott <ot14@columbia.edu>

> How general can the expressions allowed by MET be when one achieves
> optimal performace?

> matrix1 = matrix2.transpose() = matrix3;
> vector1 = vector2 + vector3 + vector4 + vector5;
> vector1 = vector2 + matrix1 * vector3 + vector4;
> vector1 = matrix1.transpose() * vector2 + vector3;
> matrix1 = scalar1 * matrix2.transpose();

If you or some other people feel interested, please access CVS repository
at SourceForge.

MET source files can be checked out through anonymous CVS with the following.
When prompted for a password for anonymous, simply press the Enter key.

cvs -d:pserver:anonymous@cvs.met.sourceforge.net:/cvsroot/met login
cvs -z3 -d:pserver:anonymous@cvs.met.sourceforge.net:/cvsroot/met co met

Regards,
Masakatsu Ito

--------------------- Object Oriented Numerics List --------------------------
* To subscribe/unsubscribe: use the handy web form at
http://oonumerics.org/oon/
* If this doesn't work, please send a note to owner-oon-list@oonumerics.org



This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 03:20:15 EST