There's a checkbox for x. y. etc. as well as x y ... Options... (Preferences, on Mac) > tab:Parameters > [*] Permit x. y. names in explicit definitions.
I guess that's equivalent to Bill's (9!:49)1 phrase. On Fri, Jan 3, 2014 at 6:52 AM, Nollaig MacKenzie <noll...@amhuinnsuidhe.net > wrote: > I expect that the problem arises because older versions of J > required 'x.', 'y.', 'u.', where current versions want plain > 'x', 'y', 'u'. Try replacing the "dotted" letters with unmodified > ones. HTH, N. > > On 2014.01.03 00:34:01, you, > the extraordinary Daniel Valentino, spake thus: > > > > > I am very new to J, and not very experienced with functional programming, > > but I am trying to use J for a data analytics project that involves a lot > > of statistical analysis. In learning to program in J, I started to run > > some of the examples from Ken Iverson's Calculus book, and I'm having > > trouble with the following: > > PS =: 1 : (':'; '(u. x.) p. y.') NB. explicit definition of power > series > > > > On my system, it reports an error: "spelling error" with the caret under > > the u. I found the u. operator in the dictionary, and it appears to be a > > unicode operator, but it doesn't appear to be defined in my J > interpreter. > > > > I tried the following: > > s1 =: $&(0 1) > > x =: (i.6)%2 > > > > 5 s1 PS x > > > > x1 and x appear to be defined correctly, but I get the "spelling error" > > message when I use the PS operator: > > > > spelling error > > | (u. x.) p. y. > > | ^ > > | PS=: 1 :(':';'(u. x.) p. y.') > > > > I am using J version j64-701gtk on Windows 7, SP1, 64 bit (intel i7). > > > > Is this an appropriate question for this forum, or should I post this > > message elsewhere? If it is appropriate, can someone help me to > understand > > the definition of the PS operator, and does anyone recognize why I'm > > getting the reported error? > > > > Thanks in advance for any help! > > > > Sincerely, > > Daniel > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > -- > Nollaig MacKenzie > http://www.yorku.ca/nollaig > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm