Package index
-
Frankenstein
- A perfect magic cube due to Frankenstein
-
Ollerenshaw
- A most perfect square due to Ollerenshaw
-
adiag()
- Binds arrays corner-to-corner
-
allsubhypercubes()
- Subhypercubes of magic hypercubes
-
allsums()
- Row, column, and two diagonal sums of arrays
-
apad()
- Pad arrays
-
apldrop()
`apldrop<-`()
apltake()
`apltake<-`()
- Replacements for APL functions take and drop
-
aplus()
- Generalized array addition
-
arev()
- Reverses some dimensions; a generalization of rev
-
arot()
- Rotates an array about two specified dimensions
-
arow()
- Generalized row and col
-
as.standard()
is.standard()
- Standard form for magic squares
-
cilleruelo()
- A class of multiplicative magic squares due to Cilleruelo and Luca
-
circulant()
is.circulant()
- Circulant matrices of any order
-
cube2
- A pantriagonal magic cube
-
diag.off()
- Extracts broken diagonals
-
do.index()
- Apply a function to array element indices
-
eq()
ne()
gt()
lt()
ge()
le()
`%eq%`
`%ne%`
`%gt%`
`%lt%`
`%ge%`
`%le%`
- Comparison of two magic squares
-
fnsd()
- First non-singleton dimension
-
force.integer()
- Integerize array elements
-
sylvester()
is.hadamard()
- Hadamard matrices
-
hendricks
- A perfect magic cube due to Hendricks
-
hudson()
- Pandiagonal magic squares due to Hudson
-
is.magic()
is.panmagic()
is.pandiagonal()
is.semimagic()
is.semimagic.default()
is.associative()
is.normal()
is.sparse()
is.mostperfect()
is.2x2.correct()
is.bree.correct()
is.latin()
is.antimagic()
is.totally.antimagic()
is.heterosquare()
is.totally.heterosquare()
is.sam()
is.stam()
- Various tests for the magicness of a square
-
is.semimagichypercube()
is.diagonally.correct()
is.magichypercube()
is.perfect()
is.latinhypercube()
is.alicehypercube()
- magic hypercubes
-
is.ok()
- does a vector have the sum required to be a row or column of a magic square?
-
is.square.palindromic()
is.centrosymmetric()
is.persymmetric()
- Is a square matrix square palindromic?
-
incidence()
is.incidence()
is.incidence.improper()
unincidence()
inc_to_inc()
another_latin()
another_incidence()
rlatin()
- Random latin squares
-
lozenge()
- Conway's lozenge algorithm for magic squares
-
magic-package
- Create and Investigate Magic Squares
-
magic.2np1()
- Magic squares of odd order
-
magic.4n()
- Magic squares of order 4n
-
magic.4np2()
- Magic squares of order 4n+2
-
magic.8()
- Regular magic squares of order 8
-
magic()
- Creates magic squares
-
magic.constant()
- Magic constant of a magic square or hypercube
-
magic.prime()
- Magic squares prime order
-
magic.product()
magic.product.fast()
- Product of two magic squares
-
magiccube.2np1()
- Magic cubes of order 2n+1
-
magiccubes
- Magic cubes of order 3
-
magichypercube.4n()
- Magic hypercubes of order 4n
-
magicplot()
- Joins consecutive numbers of a magic square.
-
minmax()
- are all elements of a vector identical?
-
notmagic.2n()
- An unmagic square
-
bernhardsson()
bernhardssonA()
bernhardssonB()
- N queens problem
-
panmagic.4()
- Panmagic squares of order 4
-
panmagic.6npm1()
panmagic.6np1()
panmagic.6nm1()
panmagic.4n()
- Panmagic squares of order 4n, 6n+1 and 6n-1
-
panmagic.8()
- Panmagic squares of order 8
-
perfectcube5
- A perfect magic cube of order 5
-
perfectcube6
- A perfect cube of order 6
-
process()
- Force index arrays into range
-
recurse()
- Recursively apply a permutation
-
sam()
- Sparse antimagic squares
-
strachey()
- Strachey's algorithm for magic squares
-
subsums()
- Sums of submatrices
-
transf()
- Frenicle's equivalent magic squares