Re: [Jprogramming] Help me using rank (")

2016-06-10 Thread Raul Miller
So, ok, rank... The question, I imagine, is: how does rank help you understand how to get from 1 {"1 (3 5 5 #: i. 3 5 5) to (1&{@#:i.)3 5 5 But let's try that from another angle. Let's instead unfold the hook, giving us: 3 5 5 (1&{@#: i.) 3 5 5 Here, we can see just a bit more clearly

Re: [Jprogramming] Help me using rank (")

2016-06-10 Thread Martin Kreuzer
Raul - So back to square One, totally different approach. (Most of this again for my reference.) I reviewed (x #: y) by the 'time' example hms=. 24 60 60 & #: hms 3600 1825 1201 930 1 0 0 0 30 25 0 20 1 0 15 30 Each atom on the right produces a list (3 items each in this case, acco

Re: [Jprogramming] Help me using rank (")

2016-06-10 Thread 'Bo Jacoby' via Programming
Thanks Raul! To me (#:) was an intellectual detour, but it works beautifully. Bo. Den 12:51 fredag den 10. juni 2016 skrev Raul Miller : Try this:   3 5 5 #: i. 3 5 5 Then try this:   1 {"1 (3 5 5 #: i. 3 5 5) Then try this:   #:"#: I hope that helps, Thanks, -- Raul On Fri, Jun

Re: [Jprogramming] Help me using rank (")

2016-06-10 Thread Raul Miller
Try this: 3 5 5 #: i. 3 5 5 Then try this: 1 {"1 (3 5 5 #: i. 3 5 5) Then try this: #:"#: I hope that helps, Thanks, -- Raul On Fri, Jun 10, 2016 at 6:38 AM, Martin Kreuzer wrote: > Raul - > > Following this thread, I managed to grasp (reproduce) the expression (0 2 1 > |: 3 5 5 $

Re: [Jprogramming] Help me using rank (")

2016-06-10 Thread Martin Kreuzer
Raul - Following this thread, I managed to grasp (reproduce) the expression (0 2 1 |: 3 5 5 $ i. 5) which Bo found satisfactory. Challenged by your remark "But probably no easier to read." I have tried to sort of reconstruct your approach: First I read up on dyadic Antibase (x #: y) and fou