On Tue, Sep 8, 2009 at 11:23 AM, Zsbán Ambrus<[email protected]> wrote: > Note that you definitely need two diadic ranks (("0)("0 1)) on the > verb, just any one rank wouldn't suffice because you're matching the > atoms of one list with each element of the matching rows of the other.
This one was of course plain wrong. Just "0 works fine. You would need the double rank only if you wanted to apply one value to elements of each column. 13:07 < b_jonas> ):: m ([: < >@:[ # >@:])"0 t 13:07 < jeval> b_jonas: +--------+--------+--------+--------+ 13:07 < jeval> b_jonas: |20090904|20090903|20090902|20090901| 13:07 < jeval> b_jonas: +--------+--------+--------+--------+ 13:07 < jeval> b_jonas: |934536 |928203 |930621 |949232 | 13:07 < jeval> b_jonas: +--------+--------+--------+--------+ 13:08 < b_jonas> ):: m ([: < >@:[ # >@:])"0"1 |: t 13:08 < jeval> b_jonas: +--------+------+ 13:08 < jeval> b_jonas: |20090904|934536| 13:08 < jeval> b_jonas: +--------+------+ 13:08 < jeval> b_jonas: |20090903|928203| 13:08 < jeval> b_jonas: +--------+------+ 13:09 < jeval> b_jonas: ... Sorry for the confusion. Ambrus ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
