Can we fix reverse operator overloading (opSub_r et. al.)?

Robert Jacques sandford at jhu.edu
Sat Jul 11 20:56:25 PDT 2009


On Fri, 10 Jul 2009 06:24:04 -0400, Lars T. Kyllingstad  
<public at kyllingen.nospamnet> wrote:
> There are actually three (four) basic types of vector/matrix  
> multiplication, and the * operator would more or less be fitting for any  
> of them:
>    - element-by-element multiplication, which is what * means now
>    - dot product
>    - matrix multiplication
>   (- cross product )

Actually, matrix multiplication and the dot product are both cases of the  
inner product and the cross product is specific to 3D vectors.



More information about the Digitalmars-d mailing list