transf: Frenicle's equivalent magic squares

transfR Documentation

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

is.standard

Examples

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

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

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


magic documentation built on Nov. 16, 2022, 9:06 a.m.