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.