I suspect that you think this is testing for y-squared greater than x, but it's not. It is executed as (y > (2 ^ x)) # y
Perhaps you want filtgtsq =. 13 : '((y^2) > x) # y' filtgtsq +-+-----+-----------------+ |]|+-+-+|+-+-+-----------+| | ||#|~|||[|<|+-+-----+-+|| | |+-+-+|| | ||2|+-+-+|]||| | | || | || ||^|~|| ||| | | || | || |+-+-+| ||| | | || | |+-+-----+-+|| | | |+-+-+-----------+| +-+-----+-----------------+ ] #~ [ < 2 ^~ ] Henry Rich > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Arved > Sandstrom > Sent: Saturday, November 18, 2006 4:59 PM > To: [email protected] > Subject: [Jprogramming] Translating explicit-to-tacit converter output > > Hello, > > I am a novice at J, and experimenting with the explicit to > tacit converter. > > The simplest cases I find straightforward. For example, > > filtgt =. 13 : '(y > x) # y' > filtgt > > ______________ > | | | | > | < | # | ] | > |____|____|____| > > was easy enough to see as (<#]). However, I then tried > > filtgtsq =. 13 : '(y^2 > x) # y' > filtgtsq > > ___________________________________________ > | | _______ | _______________________ | > | ] | | | | | | | | ___________ | | > | | | # | ~ | | | ] | ^ | | | | | | | > | | |___|___| | | | | | 2 | > | [ | | | > | | | | | | |___|___|___| | | > | | | |___|___|_______________| | > |___|___________|___________________________| > > and I am having no joy with translating this. Not yet. I am > simply not a dab > hand yet with hooks, forks, &, @ and so forth. Just seeing > how this would be > rendered would answer a bunch of questions. > > Thanks. > > AHS > ---------------------------------------------------------------------- > For information about J forums see > http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
