Raul Miller <[email protected]> wrote: > On Wed, Mar 4, 2009 at 4:07 PM, Roger Hui <[email protected]> wrote: > > It is by definition that 0=x*.y if x=0 or y=0. > > Then the advantages are that *. is the same > > as "and" for booleans and that the identity > > (x*.y)=x(*%+.)y holds for x=0 or y=0 . > > Is it worth noting that min and max (<. and >.) > could likewise serve as and and or, without > needing any special case treatment?
While LCM/GCD and min/max (and also * and *&.-.) could be used for and/or, min/max have neutral elements that are outside of the boolean domain: (<./,*./,*/) i.0 _ 1 1 (>./,+./,*&.-./) i.0 __ 0 0 -- Mark D. Niemiec <[email protected]> ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
