I want to overload Times
and Plus
for matrix multiplication in mathematica, for example, let Times
be BitAnd
, and Plus be BitOr
, then do the matrix multiplication.
Is there anyway to do this in a simple way, without rewriting my own matrix multiplication?
Thanks.