Re: [Jprogramming] Sorry for the previous messages I neglected to remove from my reply

2019-10-14 Thread Henry Rich
Well said.  Why don't you put that into the NuVoc page for Key at an appropriate place? For 9.01 and later, prefer u. to u . You might need some examples of sc. Henry Rich On 10/14/2019 5:35 PM, Louis de Forcrand wrote: If this makes it any clearer, here is an implementation of /. key: key=

Re: [Jprogramming] Sorry for the previous messages I neglected to remove from my reply

2019-10-14 Thread Louis de Forcrand
If this makes it any clearer, here is an implementation of /. key: key=: 1 : 0 =@[ u@# ] ) where = self-classify can itself be defined as sc=: ~. -:"_ _1"_1 _ ] Cheers, Louis > On 14 Oct 2019, at 21:26, Raul Miller wrote: > > I'm not sure what you mean, but consider: > > 'abcba' +--+--+

Re: [Jprogramming] Difference between complex literals and complex numbers produced by j.

2019-10-14 Thread Raul Miller
Personally, I would like the property that <. on gaussian (or complex) integers is an identity function. So this seems promising. But what does this do to the euclidean algorithm? (Are there examples where it breaks? If so, what has to happen for it to work with gaussian integers?) Thanks, -- Ra

Re: [Jprogramming] dissect power

2019-10-14 Thread Henry Rich
I guess you'd better send me or post here script you use to create this, because I didn't see that error. Henry Rich On 10/14/2019 5:02 PM, Raul Miller wrote: On Mon, Oct 14, 2019 at 3:55 PM Henry Rich wrote: Clicking on the result should open the window that lets you select from one of the

Re: [Jprogramming] dissect power

2019-10-14 Thread Raul Miller
Er... calcdispframe, on line 13711, since there seem to be fifteen different definitions of calcdispframe in dissect.ijs... (Obviously I've not studied the overall structure of the code...) Thanks, -- Raul On Mon, Oct 14, 2019 at 5:02 PM Raul Miller wrote: > > On Mon, Oct 14, 2019 at 3:55 PM

Re: [Jprogramming] dissect power

2019-10-14 Thread Raul Miller
On Mon, Oct 14, 2019 at 3:55 PM Henry Rich wrote: > Clicking on the result should open the window that lets you select from > one of the executions of u. Clicking in that result should expand u. > It doesn't work, and it will be quite a while before I can look into > it. If you want to try to de

Re: [Jprogramming] Difference between complex literals and complex numbers produced by j.

2019-10-14 Thread Marshall Lochbaum
Here's a description of my floor model and how I arrived at it (after discussion with colleagues at Dyalog). There's some code at the bottom to generate pictures, which will probably help when reading. It's not quite identical to the proposal for Dyalog APL: Dyalog's real floor uses absolute tolera

Re: [Jprogramming] dissect power

2019-10-14 Thread Henry Rich
Clicking on the result should open the window that lets you select from one of the executions of u.  Clicking in that result should expand u.  It doesn't work, and it will be quite a while before I can look into it.  If you want to try to debug it, bless you, and I'll help. Henry Rich On 10/1

[Jprogramming] dissect power

2019-10-14 Thread Raul Miller
(is this the right forum for talking about j packages?) I was trying to flesh out the comments on http://rosettacode.org/wiki/Functional_coverage_tree#J today, and I noticed that dissect is not as illuminating as I had expected for the expression: dissect 'weight ((] (1}.~.parent)}~ 1}. * %&(pare

Re: [Jprogramming] Sorry for the previous messages I neglected to remove from my reply

2019-10-14 Thread Raul Miller
I'm not sure what you mean, but consider: 'abcba' wrote: > > Yes, much. That seems not the case for a character array left argument, thus > my confusion. Thank you! > What other arguments/verbs play nice with /, ? > > > On Oct 14, 2019, at 3:05 PM, Raul Miller wrote: > > > > Ok, try this:

Re: [Jprogramming] Sorry for the previous messages I neglected to remove from my reply

2019-10-14 Thread 'Jim Russell' via Programming
Yes, much. That seems not the case for a character array left argument, thus my confusion. Thank you! What other arguments/verbs play nice with /, ? > On Oct 14, 2019, at 3:05 PM, Raul Miller wrote: > > Ok, try this: > > 1 2 3 2 1 +--+--+-+ > |ae|bd|c| > +--+--+-+ > > The nub of the left

Re: [Jprogramming] Sorry for the previous messages I neglected to remove from my reply

2019-10-14 Thread Raul Miller
Ok, try this: 1 2 3 2 1 wrote: > > Sorry, I'm still stuck on u=#. (Or "," or "<" or "[" ). I'll try to > understand some harder working verbs, perhaps + or ! or I. or e? > > > On Oct 14, 2019, at 12:18 PM, Raul Miller wrote: > > > > On Mon, Oct 14, 2019 at 12:06 PM 'Jim Russell' via Program

Re: [Jprogramming] Sorry for the previous messages I neglected to remove from my reply

2019-10-14 Thread 'Jim Russell' via Programming
Sorry, I'm still stuck on u=#. (Or "," or "<" or "[" ). I'll try to understand some harder working verbs, perhaps + or ! or I. or e? > On Oct 14, 2019, at 12:18 PM, Raul Miller wrote: > > On Mon, Oct 14, 2019 at 12:06 PM 'Jim Russell' via Programming > wrote: >> Thank you Raul! I thought I wa

Re: [Jprogramming] Sorry for the previous messages I neglected to remove from my reply

2019-10-14 Thread Raul Miller
On Mon, Oct 14, 2019 at 12:06 PM 'Jim Russell' via Programming wrote: > Thank you Raul! I thought I was agreeing, until I got to the following: > > > On Oct 14, 2019, at 11:40 AM, Raul Miller wrote: > > > > So ... it's the "only the nub" which is relevant here, if you do not > > care about the ca

Re: [Jprogramming] Sorry for the previous messages I neglected to remove from my reply

2019-10-14 Thread 'Jim Russell' via Programming
Thank you Raul! I thought I was agreeing, until I got to the following: > On Oct 14, 2019, at 11:40 AM, Raul Miller wrote: > > So ... it's the "only the nub" which is relevant here, if you do not > care about the calculation which produces the result. What calculation? What would be different i

Re: [Jprogramming] Sorry for the previous messages I neglected to remove from my reply

2019-10-14 Thread Raul Miller
The left argument defines the structure of the result. The count of the nub of the left argument defines the number of items of the result. The order of the nub defines the order of the items of the result. The values of the left argument specify which item of the right argument go into which ite