Good afternoon, I was finding a bug in my program that finally boiled down to this:
]data =: #: i.5 NB. some test data
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
sdata =: $.data NB. now sparse
data i."1 (1)
3 2 1 1 0
0$. sdata i."1 (1)
0 2 1 1 0
Shouldn't these be the same?
Thanks for any advice,
Ben
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
