On Fri, Jan 9, 2009 at 4:40 PM, Brian Schott <[email protected]> wrote:
> I think this is more complete.
>
>   1 1 1 1j1 1 #"1]1 1 1 1j1 1 #>:i. 5 5
>  1  2  3  4 0  5
>  6  7  8  9 0 10
> 11 12 13 14 0 15
> 16 17 18 19 0 20
>  0  0  0  0 0  0
> 21 22 23 24 0 25

Yes, thank you, I did not read carefully enough.

Or:
   m=:1+i.5 5
   b=:1 1 1 1 0 1
   b #inv b#inv"1 m
 1  2  3  4 0  5
 6  7  8  9 0 10
11 12 13 14 0 15
16 17 18 19 0 20
 0  0  0  0 0  0
21 22 23 24 0 25

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

Reply via email to