Creates all fundamentally different panmagic squares of order 4.
panmagic.4(vals = 2^(0:3))
a length four vector giving the values which are combined
in each of the 2^4 possible ways. Thus
vals=2^sample(0:3) always gives a normal square
(0-15 in binary).
Robin K. S. Hankin
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.