Note that linear indexes are mathematically equivalent to boxed indexes base (#.) array shape.
The problem, though, is that they are atom indices, and not frame indices. -- Raul On Wed, Dec 28, 2016 at 12:56 PM, Brian Schott <[email protected]> wrote: > To clarify NuVoc's explanation, first I think I created the index list for > the current example. > > ,/>@{(i. 3);i. 2 > 0 0 > 0 1 > 1 0 > 1 1 > 2 0 > 2 1 > > Then pretending that y is i. 3 2, I applied the expression given in NuVoc > and it produces the expected "atom numbers". > ($i. 3 2)#. ,/>@{(i. 3);i. 2 > 0 1 2 3 4 5 > > I think this also confirms Cliff's observation. > > On Wed, Dec 28, 2016 at 10:24 AM, Henry Rich <[email protected]> wrote: > >> The Dictionary does discuss this, at http://www.jsoftware.com/help/ >> dictionary/d530v.htm but unfortunately it doesn't mention that the result >> of u is the atom number. >> >> NuVoc in http://code.jsoftware.com/wiki/Vocabulary/curlyrtu#dyadic does >> describe the case correctly, though without the usual examples because the >> form is antiquated. >> >> Henry Rich >> >> >> >> > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
