On Thu, Aug 25, 2022 at 1:36 PM Arthur Anger <[email protected]> wrote: > In "Verbs on Booleans", '!' is used for Complement, which is more often > notated by a hooked horizontal bar. The two '1x1's seem to use a (small) > multiplication sign in place of letter 'x'.
Here, the literal J implementation (-.y is 1-y) might be used, though the hooked horizontal bar would be more suggestive. (The advantage of 1-y is that this works with bayesian values -- probabilities -- as well as with strictly boolean truth values.) ((That said, note that when working with bayesian values, we would use * for and rather than the *. which is defined on booleans. Note also that *. on booleans has validity predating the introduction of the "logical negation" operator a bit over a century ago. Boolean algebra without logical negation works fine with an integer domain.)) Thanks, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
