You're right of course. Maybe I was thinking in 0-origin... Henry Rich
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Randy > MacDonald > Sent: Monday, August 07, 2006 10:30 PM > To: Programming forum > Subject: Re: [Jprogramming] conventional way of matrix power? > > Henry; > > Looks like A^10 ... > > +/ . *^:1~ A > 7 10 > 15 22 > > which is A^2 > > -------------------------------------------------------------- > ---------- > |\/| Randy A MacDonald | APL: If you can say it, it's done.. (ram) > |/\| [EMAIL PROTECTED] | > |\ | |If you cannot describe what you are doing > BSc(Math) UNBF'83 þas a process, you don't know what > you're doing. > Sapere Aude | - W. E. Deming > Natural Born APL'er | Demo website: http://156.34.76.145/ > -----------------------------------------------------(INTP)--- > -{ gnat }- > > ----- Original Message ----- > From: "Henry Rich" <[EMAIL PROTECTED]> > To: "'Programming forum'" <[email protected]> > Sent: Monday, August 07, 2006 11:20 PM > Subject: RE: [Jprogramming] conventional way of matrix power? > > > > A^9, actually: > > > > +/ . *^:9~ A > > 4783807 6972050 > > 10458075 15241882 > > > > You can save some matrix multiplies if you analyze the power. > > > > Henry Rich > > > > > >> -----Original Message----- > >> From: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED] On Behalf Of June Kim > >> Sent: Monday, August 07, 2006 10:01 PM > >> To: Programming forum > >> Subject: [Jprogramming] conventional way of matrix power? > >> > >> A=: >1 2;3 4 > >> (+/ . *)/ 10 2$A NB. A^10 > >> 4783807 6972050 > >> 10458075 15241882 > >> > >> Is this conventional in J? (I guess not) > >> > ---------------------------------------------------------------------- > >> 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
