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

magichypercube.4n

Magic hypercubes of order 4n


Description

Returns magic hypercubes of order 4n and any dimension.

Usage

magichypercube.4n(m, d = 3)

Arguments

m

Magic hypercube produced of order n=4m

d

Dimensionality of cube

Details

Uses a rather kludgy (but vectorized) method. I am not 100% sure that the method does in fact produce magic squares for all orders and dimensions.

Author(s)

Robin K. S. Hankin

Examples

magichypercube.4n(1,d=4)
magichypercube.4n(2,d=3)

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.