Very good. No, Randy, I was not trying to scare anyone off. I like that expression because it gives an interesting plot, it's not too complex, but it uses several interesting features.
Bart, the +/~ applies "+/" with the right argument on both the left and right. That is, it gives you all the sums of each element with each element. Compare to */~ i. 5 (times table) On 3/25/08, Bart van Deenen <[EMAIL PROTECTED]> wrote: > > > On Mar 25, 2008, at 14:14 , Randy MacDonald wrote: > > Hello Devon; > > > > Although this is what I aspired to do in a high school programming > > project back in the 70s, it strikes me as far too advanced for a > > newbie. If your actual intention was to scare him off, I'll be a > > coward and not interfere. There are many steps between what Bart > > used and what you used, many ways to maintain the endorphin level. > > I don't scare easily :-) > > The only thing I don't understand in it is the '1' > I did the following > > 6j99 > easy, just a complex number > i:6j99 > oh I get it, similar to matlab, scilab etc. > o.i:6j99 > huh? oh, I see, times pi > 1 o.i:6j99 > huh? Ah got it. If you put 1 before, you get the sine. Well why not. > > +/~ > What's this. Let's try > +/~ 1 2 3 4 > Oh, I see, some sort of matrix creation. > > Ok, I'm done. > > Thanks for the challenge :-) :-) > > > > > > > My only comment to Bart's sentence is: is this normal? > > > > Devon McCormick wrote: > >> OK - see how you do with one of my favorites: > >> > >> load 'plot' > >> pts=. +/~ 1 o. i:6j99 NB. What does this "line noise" do? > >> 'surface' plot pts > >> > >> On 3/25/08, Bart van Deenen <[EMAIL PROTECTED]> wrote: > >> > >>> Just being extrovert here: I'm thoroughly enjoying myself with > >>> this J > >>> language that I started playing with this morning. I've been > >>> programming > >>> for > >>> 20 years or so, and this is really new and exciting! > >>> > >>> I'm shocked that I'm already understanding the bit of line noise > >>> below :-) > >>> > >>> +/?1000#2 > >>> > >>> Bart > >>> > >>> -- > >>> View this message in context: > >>> http://www.nabble.com/Newbie-enjoying-himself-%3A-%29- > >>> tp16274111s24193p16274111.html > >>> Sent from the J Programming mailing list archive at Nabble.com. > >>> > >>> -------------------------------------------------------------------- > >>> -- > >>> For information about J forums see http://www.jsoftware.com/ > >>> forums.htm > >>> > >>> > >> > >> > >> > >> > > > > -- > > ---------------------------------------------------------------------- > > -- > > |\/| Randy A MacDonald | APL: If you can say it, it's done.. > > (ram) > > |/\| ramacd <at> nbnet.nb.ca | > > |\ | | The only real problem with APL is that > > BSc(Math) UNBF'83 | it is "still ahead of its time." > > Sapere Aude | - Morten Kromberg > > Natural Born APL'er | > > -----------------------------------------------------(INTP)---- > > { gnat }- > > > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > van Deenen Support > Tarwestraat 55 > 1446 CB Purmerend > 0299-667012 > www.vandeenensupport.com > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
