but in that case a boolean left argument will
give a partition with at most two elements

in general you need n different values
for partitioning into n sets this way

Am 24.04.20 um 23:45 schrieb Devon McCormick:
I must have been thinking of "key", e.g.
    1 0 1 0 </. i.4
+---+---+
|0 2|1 3|
+---+---+


On Fri, Apr 24, 2020 at 5:37 PM Devon McCormick <[email protected]> wrote:

I seem to recall there is a way to use the "cut" conjunction with a
Boolean left argument specifying partition boundaries but I cannot find
where this is mentioned on the J wiki.

Is there a way to do this?

Thanks,

Devon

--

Devon McCormick, CFA

Quantitative Consultant




--
----------------------
mail written using NEO
neo-layout.org
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to