Re: [Jprogramming] [Jgeneral] interpolation (equidistant re-sampling)

2021-05-08 Thread Fraser Jackson
When a digital function is defied by two boxed vectors y1;y2 And you want to fid a linear interpolated value between two values of the first vector the function x interp y1;y2 will give a linear interpolated value for each left arguent interp =: 4 : 0"0 _ assert. 2 = # y 'a b'=. y ai =. {.

Re: [Jprogramming] Question about least squares with %.

2021-05-04 Thread Fraser Jackson
Concerns about using %. For solution of linear regression models avoid the need in nearly all applications to do some careful diagnostics after the calculation. Regression is one of the main tools I use J for and the simple function listed below returns a result and sufficient information ab

[Jprogramming] Session font adn manu fonts

2020-11-14 Thread Fraser Jackson
The Edit/Session Font menu enables changes in the session and script font. This is extremely valuable for some users. It would be even more valuable if the font in the menu items could also be changed. Some lists such as project and scripts within a project can become long and with the stand

Re: [Jprogramming] 2D histograms?

2020-04-03 Thread Fraser Jackson
Brian's histogram reference shows excellent extensions to the 'stats/base' histogram function which I have often used. A wide range of plot illustrations are available in 901 at Help - Studio - Showcase - Plot They illustrate the very good capabilities of the present plot package. The prese

Re: [Jprogramming] generate integers from a to be with a step

2020-04-01 Thread Fraser Jackson
No one has mentioned the simple function load 'stats/base' steps 5 19 14 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 steps 5 9 8 5 5.5 6 6.5 7 7.5 8 8.5 9 steps _3 10 13 _3 _2 _1 0 1 2 3 4 5 6 7 8 9 10 steps 4.25 8.75 9 4.25 4.75 5.25 5.75 6.25 6.75 7.25 7.75 8.25 8.75 steps 9 4 5 9 8 7 6 5 4 Also use

Re: [Jprogramming] ternary plots in J

2016-08-23 Thread Fraser Jackson
│0│0│0 0 255│0│37 36 248.5 135.333 460 334│ └─┴┴──┴─┴─┴─┴───┴─┴───┘ Perhaps Plot should support ternary graphs. If I were doing this myself, I might draw the graphs without using Plot. On 22 August 2016 at 21:29, Fraser Jackson wrote: I have constructed a lar

[Jprogramming] ternary plots in J

2016-08-22 Thread Fraser Jackson
I have constructed a large number of ternary plots in J, but have not been able to find a way of labelling tic marks on the boundaries of the plot. All of the defaults for grids and tics are inappropriate and eliminated with pd 'frame 0;axes 0 0; grids 0 0;tics 0 0;labels 0 0;'. All has been do

Re: [Jprogramming] Plot not showing

2016-04-08 Thread Fraser Jackson
I am using Windows 10 and J64. I can confirm that the script works fine with Jqt. However it does not work with J console, producing only the first plot. Henry's suggestion does not work in J console either. A standard plot call plot i.10 does work in J console. It may be that the calls to

Re: [Jprogramming] Announcement: Graphical sentence debugger for J

2014-08-06 Thread Fraser Jackson
Graphical sentence debugger for J Oh, I see... you are on J801. I didn't test on J801, and I'm not sure it will work there (the wd interface changed for 802). Can you try J602 or J802? Henry Rich On 8/6/2014 7:01 PM, Fraser Jackson wrote: I have just reloaded from the package ma

Re: [Jprogramming] Announcement: Graphical sentence debugger for J

2014-08-06 Thread Fraser Jackson
I have just reloaded from the package manager server. It is reporting the version as 2.0.16. When loaded the name dissect is not defined in the z locale. Fraser - Original Message - From: "Henry Rich" To: Sent: Thursday, August 07, 2014 9:57 AM Subject: Re: [Jprogramming] Announceme

Re: [Jprogramming] Announcement: Graphical sentence debugger for J

2014-08-06 Thread Fraser Jackson
Henry, This looks another great ccontribution, but it does not seem to be working as described: From a new session load 'debug/dissect' dissect '+/ z + i. 3 3' [ z =. 100 200 300 NB. the first picture above |value error: dissect | dissect'+/ z + i. 3 3'[z=.100 200 300 NB. th

Re: [Jprogramming] Beginner - multiline paste

2014-02-15 Thread Fraser Jackson
You can enter multiline text exactly as you listed. In processing that, J interpreted the line text =: 0 : 0 as the instruction to read the characters input in the following lines, including the line feeds until it received a line beginning with ). At that point it assigned the input to the na

Re: [Jprogramming] The Accessible Dictionary released

2014-01-22 Thread Fraser Jackson
Ian and all others involved deserve our thanks for their work developing this, but how would beginners find out about it? Can a reference be added to the front page on the Wiki, perhaps as the first item under guides? There are areas where with some tidying and consistency it can be improved,

Re: [Jprogramming] J talk in NYC 1/21 - examples welcome

2014-01-19 Thread Fraser Jackson
We use names for the symbols to talk about them, and to list orally a sequence of them. The symbols are fine on paper, but not adequate for verbal communication. The symbols have names for non-J users which may have no relationship to their use in J. If we are talking about J using the diction

Re: [Jprogramming] Iteration of Power

2013-03-25 Thread Fraser Jackson
Jeremy, Sometimes mixing tacit and explicit definitions gives very simple programs especially if you want to use a conjunction like power gen1 =: 4 : 'life^:(i.>:x)y' gen2 =: 4 : 'life ^:x y' if you only want the final result Fraser -

Re: [Jprogramming] J Android JKeyboard (was Re: J Android)

2012-12-30 Thread Fraser Jackson
The help text states that 'long-pressing on the console screen will bring up a menu with the item "Input Method" '. This does not seem to happen on a Galaxie S3. Android 4.1.1 Baseband version I9300TDULJ2 J Keyboard is enabled in the Settings App. Any suggestions? Fraser -- Original Mess

Re: [Jprogramming] J Android

2012-12-28 Thread Fraser Jackson
As another Android complete newbie who sought the same advice. The following may help with the start of the process: 1. On your phone go to App Settings/ Personal / Security and lock screen/ Device Administration/ Unknown Sources (Tick Allow installation of non-Market apps) 2. On your p