[Jprogramming] error in: plot_gs_paint

2019-10-15 Thread 'Bo Jacoby' via Programming
Anyone: I still get the following error message when using plot, and then I must Ctrl-Alt-Del and kill the J job. What does it mean? and what else can be done? Thank you! Bo. error in: plot_gs_paint domain error: cd   rc=.  glcmds`glcmds_jglc_@.(Poutput=iQTC)buf -

Re: [Jprogramming] Result types of ^

2019-10-15 Thread Raul Miller
I threw together an arbitrary precision floating point conversion routine on the J wiki: https://code.jsoftware.com/wiki/User:Raul_Miller/Floating_Point I have tested it, but I haven't *heavily* tested it, so feel free to double check its results (and maybe even let me know, if you notice an erro

Re: [Jprogramming] Result types of ^

2019-10-15 Thread Raul Miller
https://www.jsoftware.com/help/dictionary/d200.htm says: "For a non-negative integer y, the phrase x ^ y is equivalent to */y # x; in particular, */ on an empty list is 1, and x^0 is 1 for any x, including 0 ." That turns out to be true only of the values, not of the storage formats: exp=: 4

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

2019-10-15 Thread 'Jim Russell' via Programming
Wow! That suggests new insights. When is sc invoked? Do the two ranks apply to each verb? > On Oct 14, 2019, at 5:35 PM, Louis de Forcrand wrote: > > If this makes it any clearer, here is an implementation of /. key: > > key=: 1 : 0 > =@[ u@# ] > ) > > where = self-classify can itself be def

Re: [Jprogramming] x u/. y Key

2019-10-15 Thread Jose Mario Quintana
On Mon, Oct 14, 2019 at 12:51 AM Roger Hui wrote: > > What you described is a different adverb K2 where > > x u K2 y ←→ ((~.x)i.y) u/. y > > (If x has no duplicates, then it's just (x i.y) u/. y .) Please try it > and tell us whether it does what you want. > > This is an interesting computat

[Jprogramming] Result types of ^

2019-10-15 Thread ethiejiesa via Programming
Playing around with type bounds, I just discovered these things about ^ that I don't recall seeing in the documentation: 9!:14 '' j807/j64nonavx/linux/release/GPL3/voidlinux.org/2019-09-30T12:27:01 2&^ 1023 1024 8.98847e307 _ (3!:0)@^&>/~ 0;1;2 4 4 8 4 4 8