R: Frenicle's equivalent magic squares

transf {magic} | R 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)

[Package magic version 1.5-6 Index]