Returns a list, each element of which is a subhypercube. Note that
major diagonals are also returned (as n-by-1 arrays). The names of the list are the extracted subhypercubes. Consider
a <- magichypercube.4n(1,d=4)
(so n=4) and if jj <-
allsubhypercubes(a)
, consider jj[9]
. The name of
jj[9]
is "n-i+1,i,i,"
; its value is a square matrix. The
columns of jj[9]
may be recovered by a[n-i+1,i,i,]
with $i=1\ldots n$ (NB: that is,
rbind(a[n-1+1,1,1,],
a[n-2+1,2,2,], a[n-3+1,3,3,], a[n-4+1,4,4,])
where n=4
).
The list does not include the whole array.