Re: [Jprogramming] Magic squares

2015-12-22 Thread Moon S
, Dec 22, 2015 at 7:50 PM, Richard Donovan > wrote: > >> Thanks Thomas, works very well! >> >> > From: tmcguir...@gmail.com >> > Date: Tue, 22 Dec 2015 12:14:31 -0500 >> > To: programm...@jsoftware.com >> > Subject: Re: [Jprogramming] Magic s

Re: [Jprogramming] Magic squares

2015-12-22 Thread Moon S
oftware.com > > Subject: Re: [Jprogramming] Magic squares > > > > I haven't tried this in a while but here is one method from an APL book > > transcribed into J > > > > NB. Magic Squares the APL/J way > > NB. From APL An Interactive Approach by Gilman and Rose >

Re: [Jprogramming] Magic squares

2015-12-22 Thread Richard Donovan
Thanks Thomas, works very well! > From: tmcguir...@gmail.com > Date: Tue, 22 Dec 2015 12:14:31 -0500 > To: programm...@jsoftware.com > Subject: Re: [Jprogramming] Magic squares > > I haven't tried this in a while but here is one method from an APL book > transcr

Re: [Jprogramming] Magic squares

2015-12-22 Thread Thomas McGuire
I haven't tried this in a while but here is one method from an APL book transcribed into J NB. Magic Squares the APL/J way NB. From APL An Interactive Approach by Gilman and Rose NB. NB. Problem 19 page 177 NB. NB. A magic square of order n made up of the integers from NB. 1 through n. NB. NB.

[Jprogramming] Magic squares

2015-12-22 Thread Richard Donovan
Is there a J routine to construct magic squares of side n? Thanks in advance. -- For information about J forums see http://www.jsoftware.com/forums.htm