a=:10234
b=:42320

-----Original Message-----
From: [email protected] [mailto:programming-
[email protected]] On Behalf Of Mike Day
Sent: Wednesday, October 26, 2011 7:28 AM
To: Programming forum
Subject: Re: [Jprogramming] problem with under

Linda, it might help to know what a and b are.

FWIW, you quote a paradigm for dyadic u&.v
but appear to be using the verbs monadically.

Mike


On 26/10/2011 12:12 PM, Linda Alvord wrote:

[as copied and pasted by Mike]

x u&.v y ↔ vi (v x) u (v y)

 

([: /: ":)&.>a,b

┌─────────┬─────────┐
│1 0 2 3 4│4 2 3 1 0│
└─────────┴─────────┘

<([: /: ":)>a,b

┌──────────────────────┐
│5 1 10 0 2 8 9 3 7 4 6│
└──────────────────────┘

 

Why are these different?   Linda

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to