I wasn't thinking. A isn't a scalar. I even knew it had shape 1 1 . A 4 $A 1 1 $3 2 2 2$A 4 4 3 2 + ,2$A 7 6 This works! Thanks.
Linda -----Original Message----- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of km Sent: Saturday, September 01, 2012 6:10 PM To: programm...@jsoftware.com Subject: Re: [Jprogramming] Scalar to Vector - Yet again ,4 is a vector Sent from my iPad On Sep 1, 2012, at 4:56 PM, "Linda Alvord" <lindaalv...@verizon.net> wrote: > I vow to remember how to do this, and several months later I forget > and can't find it > > anywhere. Is there some way to get to the example from the vocabulary page? > Maybe I can remember that. > > > > A=:1 1$4 > > 3 2 + A > > |length error > | 3 2 +A > > > > Thanks. > > > > Linda > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm