I have modified the page to respond to these observations. Others may
want to add more.
Henry Rich
On 3/1/2022 11:34 AM, Julian Fondren wrote:
Since it objectively works in u, probably what you mean is that there's an
efficiency case for doing it in v instead, or that Z: can have some surprises
in u. Why not state that?
Just the case from the other way is a bit more annoying to do in v
0 {{y[1 Z:y>10}} F.. + i.10
15
vs.
NB. explicit code to avoid repeating op
0 [ F.. (4 : ('r=.x+y';'1 Z: r>10';'r')) i.10
15
NB. forgot the goal here and repeated op anyway
0 [ F.. (+[1 Z: [: >&10 +) i.10
15
0 [ F.. ([: ([[1 Z: >&10) +) i.10
15
------- Original Message -------
On Tuesday, March 1st, 2022 at 10:02 AM, Raul Miller <[email protected]>
wrote:
I updated the nuvoc Vocabulary/fcap page to state that Z: in u does
not make sense for fold single.
I think this is correct. Let me know if I'm off my rocker here.
Thanks,
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm