magic_square

Documentation | Download | Links | Screenshots | Installation | Readme | License | News


Simple operations with magic squares.

Prerequisites:
  • NumPy.
  • Functions:
  • magic(N) -- create an N-by-N magic square.
  • ismagic(A) -- test whether A is a magic square.
  • magic_constant(A) -- calculate the magic constant of A.
  • Links:
  • This package in the CheeseShop.
  • Installation instructions.
  • Documentation.
  • Readme file.
  • License.
  • News.
  • Download:

  • Version 0.2
  • File Type Size md5
    magic_square-0.2.tar.gz source 105KB  6960934d1ae64b7cfa351fbf0d566bac
    magic_square-0.2.tar.bz2 source 98KB  e4dbb5331dbe611b0b0b114e74058545
    magic_square-0.2.cygwin-1.5.24-i686.tar.bz2 "dumb" binary 6KB  3bbf5e34351ca216007c6cb31a605445
    magic_square-0.2.zip source 118KB  a1c8357e8c85978ff1a7c0cebc08db6a
    magic_square-0.2.win32.exe Windows installer 66KB  a5a8c1fac21de0fda2a36d10524d1a5e

  • Version 0.1
  • File Type Size md5
    magic_square-0.1.tar.gz source 4KB  764c4ba1d8c8a15f0053704c122e5964
    magic_square-0.1.tar.bz2 source 4KB  e16b99713c6c2a4f6cf834a1e7976a65
    magic_square-0.1.cygwin-1.5.24-i686.tar.bz2 "dumb" binary 5KB  782fff45c39cbfff53c513ccf9e8aec1
    magic_square-0.1.zip source 4KB  8867f77bbcab524f057ff424c38bf0f0
    magic_square-0.1.win32.exe Windows installer   64KB  b522ddd1544e2bb30c99780679c75b15

    Screenshots:
    That's how it looks in SAGE:
    SAGE
    And that's how it looks in IDLE:
    IDLE


    Updated on February 22, 2007
    Copyright © 2007 Alec Mihailovs