Thanks Bob, I do get your result (I can't repsroduce what created my result?)
The ] doesn't seem to be necessary. ((]j.1:)^:<10)-:(]j.1:)^:<10 1 But I don't see why you would use a monadic definition for ^: in this case. j.1 0j1 j.1: j. 1: Is it because j.1: has no meaning? Cheers in return... Linda -----Original Message----- From: Programming [mailto:[email protected]] On Behalf Of robert therriault Sent: Monday, March 7, 2016 9:42 PM To: [email protected] Subject: Re: [Jprogramming] Please explain Hi Linda, When I run that sentence I get a different result: (]j.1:)^:<10 10 10j1 10j2 10j3 10j4 10j5 10j6 10j7 10j8 10j9 A slightly different case: (]j.1:)^:(<10) 5 5 5j1 5j2 5j3 5j4 5j5 5j6 5j7 5j8 5j9 Vocabulary for ^: monadic says: u^:(<m) <--> u^:(i.m) y Does that help? Cheers, bob ps. JVERSION Engine: j804/j64/darwin Release: commercial/2015-12-21 18:06:25 Library: 8.04.15 Qt IDE: 1.4.9/5.4.2 Platform: Darwin 64 Installer: J804 install InstallPath: /users/bobtherriault/j64-804 Contact: www.jsoftware.com > On Mar 7, 2016, at 6:09 PM, Linda A Alvord <[email protected]> wrote: > > Several days ago this expression was included. Could you please > explain how it creates the result. > > > > (]j.1:)^:<10 > > 0j1 0j2 0j3 0j4 0j5 0j6 0j7 0j8 0j9 0j10 > > > > 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
