Mixing vector ops and non-commutative matrix multiplication
Subject: Mixing vector ops and non-commutative matrix multiplication
From: Neilen Marais
Date: Wed, 22 Feb 2006 17:17:53 +0200
Hi
I'd like to load the VECT package but still have proper matrix
multiplication. I'm think it would be nice to keep . as the commutative
dot-product operator, and defining .. or something similar as the
non-commutative matrix multiplication operator.
I'm not sure how to go about defining such a new operator though. Is
there a function I can call to multiply two matrices so that I can
define
".." (a,b):= matrixmul(a,b);
infix("..");
assuming that matrixmul does what I want it to? I haven't been able to
find one so far.
Thanks
Neilen