, 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
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
>
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
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.
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