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 <[email protected]> wrote: > 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 18 14 2 6 3 4 17 0 19 > /:>x > 11 9 8 10 12 7 13 16 1 5 15 18 14 2 6 3 4 17 0 19 > 18 ; ,&.> }. x > ┌──┬─┬──┬──┬──┬─┬──┬─┬─┬─┬─┬─┬─┬─┬──┬──┬─┬──┬──┬──┐ > │18│8│13│15│16│9│14│5│2│1│3│0│4│6│12│10│7│17│11│19│ > └──┴─┴──┴──┴──┴─┴──┴─┴─┴─┴─┴─┴─┴─┴──┴──┴─┴──┴──┴──┘ > /: 18 ; ,&.> }. x > 0 11 9 8 10 12 7 13 16 1 5 15 18 14 2 6 3 4 17 19 > > > > Am 18.12.20 um 17:32 schrieb Roger Hui: > > I would like to know what $&.>x looks like. > > > > > > On Fri, Dec 18, 2020 at 8:30 AM Jimmy Gauvin <[email protected]> > wrote: > > > >> Hi all, > >> > >> I am failing at understanding the difference between sorting a boxed > >> numeric vector and the unboxed vector : > >> > >> x > >> ┌──┬─┬──┬──┬──┬─┬──┬─┬─┬─┬─┬─┬─┬─┬──┬──┬─┬──┬──┬──┐ > >> │18│8│13│15│16│9│14│5│2│1│3│0│4│6│12│10│7│17│11│19│ > >> └──┴─┴──┴──┴──┴─┴──┴─┴─┴─┴─┴─┴─┴─┴──┴──┴─┴──┴──┴──┘ > >> 3!:0 each x NB. Integer type > >> ┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐ > >> │4│4│4│4│4│4│4│4│4│4│4│4│4│4│4│4│4│4│4│4│ > >> └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘ > >> /:x > >> 0 11 9 8 10 12 7 13 16 1 5 15 18 14 2 6 3 4 17 19 > >> /:>x > >> 11 9 8 10 12 7 13 16 1 5 15 18 14 2 6 3 4 17 0 19 > >> > >> Anybody care to comment ? > >> > >> > >> Jimmy > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > >> > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > -- > ---------------------- > mail written using NEO > neo-layout.org > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
