Looks like a boolean vs. integer issue: (1 *./ .= $&1)"0 i.4 10 NB. correct 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
(1 *./ .= $&(3-2))"0 i.4 10 NB. not correct 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 On Wed, Oct 26, 2011 at 1:23 PM, Devon McCormick <[email protected]> wrote: > JVERSION > Engine: j701/2011-01-10/11:25 > Library: 7.01.050 > Platform: Win 32 > Installer: j701a_win.exe > InstallPath: c:/program files/j701 > > category=. 'aa';'ab';'bc' > specific=. 'aaa';'abz';'abx';'aaz';'bca';'bcz';'zab';'zaa' > +./&>category E.&.>/ specific NB. Category overlap? > 1 0 0 1 0 0 0 1 > 0 1 1 0 0 0 1 0 > 0 0 0 0 1 1 0 0 > > 1*./ . =+/+./&>category E.&.>/ specific NB. This should be 1 > 0 > +/+./&>category E.&.>/ specific NB. because: > 1 1 1 1 1 1 1 1 > *./1=+/+./&>category E.&.>/ specific NB. But this works > 1 > 1*./ . = <. +/+./&>category E.&.>/ specific NB. while this doesn't. > 0 > 1*./ . = 1= +/+./&>category E.&.>/ specific NB. But this does, > 1 > 2*./ . =1++/+./&>category E.&.>/ specific NB. as does this, > 1 > 10*./ . =10*+/+./&>category E.&.>/ specific NB. and this. > 1 > > JVERSION NB. But for J6: > Installer: unknown > Engine: j602/2008-03-03/16:45 > Library: 6.02.023 > > 1*./ . =+/+./&>category E.&.>/ specific > 1 > > > -- > Devon McCormick, CFA > ^me^ at acm. > org is my > preferred e-mail > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
