Boost logo

Boost Users :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2002-11-07 03:49:39


On Wednesday 06 November 2002 16:41, Hickman, Greg wrote:
> Why isn't there an overloaded
>
> matrix_expression
> operator* (const matrix_expression&, const matrix_expression&);
>
> for peforming matrix multiplication?

This issue has been discussed before and the trouble IIRC is that operator*
could also mean element-wise matrix multiplication. IMHO the optimal solution
would be to take over all conventions from Matlab, a convention most are
familiar with, but the element-wise multiplication operator '.*' can't be
used in C++ ;( Another suggestion was to defined the element-wise and the
normal multiplication in a different namespace (I still like this idea very
much)

Bottomline : last time we found no satisfactory solution ;( but we might take
it up again.

toon


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net