ⓘ 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: isPanmagicSquare

isPanmagicSquare(M), where M is a real matrix, returns true if and only if M is a panmagic (or, diabolic) square. A panmagic square is a N×N magic square such that also every broken diagonal sums up to the magic constant of the square. The panmagic square need not be a normal magic square.

See also: isNormalPanmagicSquare