Discussion:
[Pdl-porters] changing the way PDL multiplies matrices ?
mraptor
2014-02-19 21:48:48 UTC
Permalink
Is there a way to change the behaviour of matrix multiplication "x" ..
Normally it is :

r1*c1 + r2 * c2 + r3*c3 + ...+ rn * cn

what I want it to do is :

r1*c1 & r2 * c2 & r3*c3 & ...& rn * cn

or any other operation ? Is this doable ?


-------| http://ifni.co
Chris Marshall
2014-02-19 21:58:48 UTC
Permalink
See 'perldoc overload' for how to overload perl operators.
See PDL/Basic/Core.pm for what the standard PDL operator
overloads are.

--Chris
Post by mraptor
Is there a way to change the behaviour of matrix multiplication "x" ..
r1*c1 + r2 * c2 + r3*c3 + ...+ rn * cn
r1*c1 & r2 * c2 & r3*c3 & ...& rn * cn
or any other operation ? Is this doable ?
-------| http://ifni.co
_______________________________________________
PDL-porters mailing list
http://mailman.jach.hawaii.edu/mailman/listinfo/pdl-porters
Loading...