|
Boost : |
From: Ullrich Koethe (koethe_at_[hidden])
Date: 2001-03-29 13:05:53
Jeremy Siek wrote:
>
> I left it out because it would be nice to allow matrix types to model
> Ring, and it is problematic implementing matrix multiplication through
> operator*= efficiently.
>
Hmm, I'm not sure whether this is a sufficient reason for the inevitable
surprise. Perhaps a new concept? After all, 'matrix1 *= matrix2' is no
less efficient then 'matrix1 = matrix1 * matrix2', is it? There is no
requirement that operator*= must be faster than operator*
Ulli
-- ________________________________________________________________ | | | Ullrich Koethe Universität Hamburg / University of Hamburg | | FB Informatik / Dept. of Computer Science | | AB Kognitive Systeme / Cognitive Systems Group | | | | Phone: +49 (0)40 42883-2573 Vogt-Koelln-Str. 30 | | Fax: +49 (0)40 42883-2572 D - 22527 Hamburg | | Email: u.koethe_at_[hidden] Germany | | koethe_at_[hidden] | | WWW: http://kogs-www.informatik.uni-hamburg.de/~koethe/ | |________________________________________________________________|
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk