Dear all,
I am trying to implement a geometric algebra system in J. I have done
much of the stuff, but is getting stuck at one point. Hence this email.
Basically, I have a list of boxes like
v1=: (<2.3; 2 3 4), (<3.9; 1 2), <3.1; 2 3 4
This represents a (multi)vector whose math representation is
2.3 * e_{234} + 3.9 * e_{12} + 3.1 * e_{234}.
Here the e_{...}'s are some basis vectors. As you can see, e_{234} occurs
twice in the list, and so this vector may be reduced to
5.4 * e_{234} + 3.9 * e_{12}.
In J this should be
v2=:(<5.4; 2 3 4), <3.9; 1 2
I want to write a monad f such that f v1 is v2.
Any idea?
Thanks and regards.
Arnab.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm