I was on the right track going with 27, but it was indeed three times. From the 
wiki: 3. Argument x must have the shape of a cell of  m{y
The so the shape is 3 3, it seems which 
   9 9 $, (<"0 (3 3$__) ) ((1;1;Q;Q);(Q;Q;1;1);,(<1;Q;1;Q)) } <"0 i.4#3



Jul 23, 2022, 00:50 by [email protected]:

> Hey,
>
> I just got to using scatter amend. I cannot figure out in what form it wants 
> x when everything is boxed. It whines about length. My case is:
>
> y is boxed array of shape 3 3 3 3
> m is a boxed array of shape 3, ultimately selecting 21 cells, a face, row, 
> and column (if you "9 9$," the y)
>
> For x, I've tried:i.21
> <"0 i.21
> <<"0 i.21
> i.21 1
> <"0 i. 21 1
>
> I tried with 27 too, in case it does 3 runs of 9 each.
> MWE:
> Q=:i.3
> 9 9 $, (???) ((1;1;Q;Q);(Q;Q;1;1);,(<1;Q;1;Q)) } <"0 i.4#3
>
> Non-scalar value don't work. What am I doing wrong?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to