June Kim wrote: > What does "base" mean here? #.
> For example, > /:~ 3 1 4 1 6,3 1 1 8 3,:6 1 8 0 3 > 3 1 1 8 3 > 3 1 4 1 6 > 6 1 8 0 3 > > What is the base value of the rows in this case(and why twice the > magnitude of any of the elements)? x=.3 1 4 1 6,3 1 1 8 3,:6 1 8 0 3 >:+:>./,|x 17 /: x 1 0 2 /:17#.x 1 0 2 Twice, to allow for negative numbers. That said, the sorting algorithm probably does not use 17 in this case. It probably "uses" 2^32. More generally, I expect that internally the base value primitive is not being used -- this would be slow, and would cause precision problems, with floating point arrays. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
