Re: [Jprogramming] A sorting surprise

2020-12-18 Thread Jimmy Gauvin
Hi, bitten by shape (again) : $&.>x ┌┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐ ││1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│ └┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘ Thanks, Jimmy On Fri, Dec 18, 2020 at 11:38 AM Hauke Rehr wrote: > yes, I suspect there must be shape issues > >] x =: ;/

Re: [Jprogramming] A sorting surprise

2020-12-18 Thread Hauke Rehr
yes, I suspect there must be shape issues ] x =: ;/ 18 8 13 15 16 9 14 5 2 1 3 0 4 6 12 10 7 17 11 19 ┌──┬─┬──┬──┬──┬─┬──┬─┬─┬─┬─┬─┬─┬─┬──┬──┬─┬──┬──┬──┐ │18│8│13│15│16│9│14│5│2│1│3│0│4│6│12│10│7│17│11│19│ └──┴─┴──┴──┴──┴─┴──┴─┴─┴─┴─┴─┴─┴─┴──┴──┴─┴──┴──┴──┘ /: x 11 9 8 10 12 7 13 16 1 5 15 1

Re: [Jprogramming] A sorting surprise

2020-12-18 Thread Roger Hui
I would like to know what $&.>x looks like. On Fri, Dec 18, 2020 at 8:30 AM Jimmy Gauvin wrote: > Hi all, > > I am failing at understanding the difference between sorting a boxed > numeric vector and the unboxed vector : > >x > ┌──┬─┬──┬──┬──┬─┬──┬─┬─┬─┬─┬─┬─┬─┬──┬──┬─┬──┬──┬──┐ > │18│8