2010/1/20 Björn Helgason <[email protected]>: > That reminds me of a mathematical joke > > j = %: _1 > > -1 = j ^ 2 = j * j = (%: _1) * (%: _1) = %: _1 * _1 = %: 1 = 1
I get a value error on j If I run j =: %: _1 and replace = with );( and put finish wrapping in parenthesis, I get (-1);(j^2);(j*j);((%:_1)*(%:_1));(%:_1*_1);(%:1);1 +--+-------------------------+--+--+-+-+-+ |_1|_1j1.2246467991473532e_16|_1|_1|1|1|1| +--+-------------------------+--+--+-+-+-+ But, yes, equivalences and multi-valued functions are sort of funny. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
