I'm not sure why I can't get the sum of the row-sum here:

w
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
   <"1 w
┌─────────┬─────────┬─────────┬─────────┐
│1 1 1 1 1│1 1 1 1 1│1 1 1 1 1│1 1 1 1 1│
└─────────┴─────────┴─────────┴─────────┘
   +/"1 w
5 5 5 5
   +/ @: +/"1 w
5 5 5 5
   ( +/ @: +/"1 ) w
5 5 5 5

+/ ( +/"1 w )   NB. this works but why cant I get @: to work?



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to