[M3devel] Enumeration or subrange value out of range

Mika Nystrom mika at async.async.caltech.edu
Thu Dec 2 20:29:19 CET 2010


Hendrik Boom writes:
>On Thu, Dec 02, 2010 at 02:36:05PM +0800, Michael Richter wrote:
>> On 1 December 2010 14:49, Jay K <jay.krell at cornell.edu> wrote:
>> 
>> No, it is not.  The semantics of concatenation are hugely different from the
>> semantics of addition.  Consider 3+4 vs. 4+3.
>> Now consider "three"+"four"
>> vs. "four"+"three".  If you want to do concatenation, have an operator for
>> concatenation.  (++, say, as a random example.)  Do not overload addition
>> with an operation that isn't even vaguely analogous.
>
>The semantics of matrix multiplication are hugely different from those 
>of integer multiplication.  Consider A*B vs B*A.

Ummm...

integer multiplication is a special case of matrix multiplication....

     Mika



More information about the M3devel mailing list