Re: [Jprogramming] Sorting on two keys

2019-01-20 Thread Roger Hui
As I said before, if the data is numeric, for each descending column, multiply by _1 and for each ascending column, multiply by 1, then apply /: to the result. This induces a "control array" having the same shape as a major cell of the argument, with a _1 for descending and a 1 for ascending. Wha

[Jprogramming] Fwd: Release-a j807 problem with plot

2019-01-20 Thread Ian Clark
@Bill suggested swapping the two lines: min=. nmm rounddown min max=. nmm roundup max …wherever they occur in jzplot.ijs. I find them in: getticpos_jzplot_ and gettplog_jzplot_ This works just fine for all the examples I've tried so far. Plus it cures my original problem, so I no longer need

Re: [Jprogramming] Where is the source of libjsqlite3?

2019-01-20 Thread 'S Suon' via Programming
I did not expect such quick responses! Using that binary, I was able to query with window functions. Thank you very much! --- Sarino On Saturday, January 19, 2019, 10:15:43 PM PST, chris burke wrote: We don't distribute the source, but I just recompiled the addon against sqlite 3.26 an

Re: [Jprogramming] Sorting on two keys

2019-01-20 Thread R.E. Boss
Also easy extendible to more columns, e.g. sorting ascending on first 2 columns and descending on last ones. [x=.|:'abc'{~ 20 4 ?.@$3 accbacabbabccbcb cbbcbabaabcaaacababc bbabbbacccaabaca abcccbcacacbaacabacc /:~(2&{."1 <@(\:_2&{."1)/.])|: x +++++++ |abca|a

Re: [Jprogramming] Release-a j807 problem with plot

2019-01-20 Thread bill lam
I checked and it should be nonavx libj.dylib problem, you can try a temporary workaround by edit the jzplot.ijs look for the block (2 occurrences) if. max ~: min do. nmm=. 10 ^ <. <: 10 ^. max - min min=. nmm rounddown min max=. nmm roundup max end. and change to order of 2 lines to if. ma

Re: [Jprogramming] Sorting on two keys

2019-01-20 Thread R.E. Boss
[x=.'abcdefg'{~ 10 2?.@$8 ;/:~({."1 <@(\:{:"1)/.]) x be bb ba ce ce db ed ec fe fa R.E. Boss > -Oorspronkelijk bericht- > Van: Programming > Namens 'Bo Jacoby' via Programming > Verzonden: zaterdag 19 januari 2019 19:13 > Aan: 'Pascal Jasmin' via Programming > Onderwerp: Re: [Jpr