Since I made a mistake somewhere along the line, it is hard to reconstruct wha
-----Original Message----- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Dan Bron Sent: Sunday, January 20, 2013 10:44 PM To: programm...@jsoftware.com Subject: Re: [Jprogramming] [Jprogrammingou Hermitian from triangular Linda wrote: > ic=:[: , ([: i: 9&o.) j./ ([: i: 11&o.) > ic2=: [: , j./&i:/@+. > ic3=: 13 :'j./ i:+.y' Please post a description, in English, of the algorithm behind ic3. What is that verb attempting to accomplish? In operational terms, how does it transform its input to its output? If you can provide an analysis, similar to the one I posted yesterday, where you describe how you came to believe that ic3 is equivalent to ic (or ic2, whichever), that would be most helpful. Barring that, please provide a description of the algorithm behind ic (or ic2), as you understand it, which we could compare/contrast to your description of the algorithm underlying ic3. In short: from my perspective, ic and ic3 are different verbs, and I have no reason to believe that given identical inputs, they will produce identical outputs (and, as you noticed, the J interpreter shares this perspective, at least for certain inputs). I would like to understand why you believe differently. Bear in mind I ask this not in order to help you repair ic3 (which is trivial), but in order to understand your general approach to programming in J. I would honestly like to teach you to fish, as it were, rather than forcing you to continue to rely on others to catch fish for you. My first attempt at that was taking time and effort to write-up a formal procedure for transforming ic to ic2, to see if it could help you meet your goals of educating with J. I'm certainly willing to continue that effort in good faith - if you are. -Dan ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm