]m=: 1 0 0, 0 1 0,: 0 1 0
1 0 0
0 1 0
0 1 0
  ]i=:4$.$. m
0 0
1 1
2 1
  ]m2=:1 (<"1 i)} 3 3$0
1 0 0
0 1 0
0 1 0
  ]s=:$.m2
0 0 │ 1
1 1 │ 1
2 1 │ 1

Can I get s from i without going through the dense matrix form?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to