In general, structuring J code is an exercise in picking the right words. That said, in this case: adding "1 on a verb that assumes a rank 1 argument is only meaningful for verbs which do the right thing on equal length arguments.
-- Raul On Wed, Nov 16, 2011 at 11:36 PM, Daniel Lyons <[email protected]>wrote: > > On Nov 16, 2011, at 8:49 AM, Devon McCormick wrote: > > > Since you know you want the function to applied with rank 1, you should > > probably build it into the definition, e.g. > > > > timeToMove=: ((timeToRotate &: azimuth) >. (timeToAscend &: > > elevation))"1 > > left timeToMove right > > 0.15 0.45 1.15 > > > I decided I bit off more than I could chew and have gone back to the > tutorials. I ran into this today, it certainly solves the short-term > problem. But the bigger problem of not knowing how to structure a J program > is still there. Back to the books. :) > > Thanks for the help! > > — > Daniel Lyons > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
