Can we fix reverse operator overloading (opSub_r et. al.)?
"Jérôme M. Berger"
jeberger at free.fr
Sat Jul 11 23:47:45 PDT 2009
Robert Jacques wrote:
> 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.
And you can add the outer product...
Jerome
--
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20090712/9d6ff445/attachment.pgp>
More information about the Digitalmars-d
mailing list