I can't say I have a deep understanding of this, but you're on track when you noticed how "*/14 dec 2 3 4" applies to the entire right argument instead of its scalar elements.
So, 14 */@(-i.)"0 i. 14 1 14 182 2184 24024 240240 2162160 17297280 1.2108096e8 7.2648576e8 3.6324288e9 1.4529715e10 4.3589146e10 8.7178291e10 For better precision: 14x */@(-i.)"0 i. 14 1 14 182 2184 24024 240240 2162160 17297280 121080960 726485760 3632428800 14529715200 43589145600 87178291200 On Thu, Feb 18, 2010 at 7:12 PM, Alex Gian <[email protected]>wrote: > On Thu, 2010-02-18 at 18:19 -0500, Devon McCormick wrote: > ... > > For further thought, why is this OK > > > > 14 */@(-i.) 3 2 > > 1680 1287 > > > > but I get this error here? > > > > 14 */@(-i.) i. 14 > > |limit error > > | 14 */@(-i.)i.14 > > No idea. I'm trying to understand the code, but still haven't groked > what youre trying to do (or why the answer isn't '2814 182', as I'd have > guessed) > But from messing around with it, I see that any arguments after the > 'first' y specify the dimensions of a matrix, e.g > */ 14 dec 2 3 4 > 28 13 0 _11 > _20 _27 _32 _35 > _36 _35 _32 _27 > > */ 14 dec 2 3 4 5 will give you a 3x4x5 matrix! > ... > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
