ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: isMagicSquare

isMagicSquare(M) returns true iff the real matrix M is a magic square, i.e. a square matrix such that the sum of all elements is equal in every row, column, and diagonal. The magic square need not be normal.

Se also: isNormalMagicSquare.