On 5/29/07, Terrence Brannon <[EMAIL PROTECTED]> wrote:
I'm not sure why I can't get the sum of the row-sum here:
  +/ @: +/"1 w

Also rather interesting is
  +/@:+/ w
1405

Here, you wind up summing the columns every time you
add two rows together.  And then the scalar result is
added to every column of the next row.

I can't think of a useful purpose for this off the top of my head,
but it seems vaguely related to triangular numbers (-:@* >:)
and might be kind of neat for something I haven't thought of yet.

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

Reply via email to