'Assembles along a leading axis' definitely does not mean makes into a list. It makes a list of items, which has rank 1 more than the rank of the items. (atoms excepted).
monad ; is hard to explain. My best effort is in chapter 17 of JfC, and also in the Introduction to J lab. The key: ITEMS of the contents of the boxes are joined into a list of ITEMS. Henry Rich > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of metaperl.j > Sent: Monday, October 22, 2007 7:04 AM > To: [email protected] > Subject: [Jgeneral] Monadic Raze and Ravel > > > Ravel: http://www.jsoftware.com/help/dictionary/d320.htm > ,y gives a list of the atoms of y in "normal" order: > the result is ordered by items, by items within items, etc. > The result shape is 1$*/$ y . > > Raze: http://www.jsoftware.com/help/dictionary/d330.htm > ;y assembles along a leading axis the opened elements of the > ravel of y . > > ]bv=: 1 2 3;4 5 6;7 8 9 > +-----+-----+-----+ > |1 2 3|4 5 6|7 8 9| > +-----+-----+-----+ > ,bv NB. lets see what the ravel of y is > +-----+-----+-----+ > |1 2 3|4 5 6|7 8 9| > +-----+-----+-----+ > ;bv > 1 2 3 4 5 6 7 8 9 > > Ok, now for some questions: > - monadic Raze is defined as ;y assembles along a leading > axis the opened > elements of the ravel of y . > * "a leading axis" is confusing. How can an array have more than one > leading axis? > It should say "the leading axis", correct? > * Isn't "assembles along a leading axis" simply meaning > that it linearizes > the result into a J list? > * If there are leading axes, what axes follow? > * What is the practical use of monadic Raze? > > - The ravel of bv looks just like bv. What are the *elements* > of bv and how > do we determine if they are open? > > -- > View this message in context: > http://www.nabble.com/Monadic-Raze-and-Ravel-tf4670319s24193.h > tml#a13341637 > Sent from the J General mailing list archive at Nabble.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
