Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

transf

Frenicle's equivalent magic squares


Description

For a given magic square, returns one of the eight squares whose Frenicle's standard form is the same.

Usage

transf(a, i)

Arguments

a

Magic square

i

Integer, considered modulo 8. Specifying 0-7 gives a different magic square

Author(s)

Robin K. S. Hankin

See Also

Examples

a <- magic(3)
identical(transf(a,0),a)

transf(a,1)
transf(a,2)

transf(a,1) %eq% transf(a,7)

magic

Create and Investigate Magic Squares

v1.5-9
GPL-2
Authors
Robin K. S. Hankin
Initial release
2018-09-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.