I prefer {.@, On Sat, Nov 28, 2020 at 1:29 AM Henry Rich <henryhr...@gmail.com> wrote:
> ''($,)y > > Henry Rich > > On 11/27/2020 11:23 AM, Raul Miller wrote: > > ''$y only produces scalars when y is non-empty and has no more than > > one dimension. > > > > To always produce scalars, you'd want {.,y > > > > But, because you're not working with multi-dimensional arrays, you > > don't need to ravel them. And, the approach you choose does work. > > > > I hope this helps, > > > > > -- > 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 > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm