| The Hypercube Notation | ||
|---|---|---|
| The (magic) hypercube is defined with dimension n and order m | ||
|
n-Point [ki ; k = 0..n-1 ; (i % m) = 0..m-1 ] Range Rule: [ki] |
the n-Point denote all the points in a Hypercube | |
|
note: Range Rule: when no condition are given both k and i are assumed to run full range i can have any value but is modulated once onto the range |
||
|
the n-Point can also be used to denote the value at the position in this case dimension and order can be denoted as well: n[ki]m |
||
|
n-Vector <ki ; k = 0..n-1 ; (i % m) = 0..m-1 > Range Rule: <ki> |
the n-Vector denotes vectors in the Hypercube | |
|
note: Range Rule: when no condition are given both k and i are assumed to run full range i can have any value but is modulated once onto the range |
||
|
amount restrictor #k=l |
restrict the amount of k's to l | |
|
note: Range Rule: the unspecified values i are 0 so pe.: [ki ; #k=2] = [j0 ki ; #j=n-2, #k=2 ] : some plane in the hypercube <k1 ; #k=2> = <j0 k1 ; #j=n-2, #k=2 > : some diagonal direction |
||
|
Pathfinder Pfp = <kθ>; p = k=0∑n-1(kθ+1) 3k θ ε {-1,0,1} ; k = 0..n-1 |
a special kind of n-Vector whith only entries -1 0 and 1, thus used to traverse the hypercubes r-agonals |
|
|
note: Pf(3n-1)/2-k = -Pf(3n-1)/2+k; k = 0..(3n-1)/2 Pf(3n-1)/2+3k+l=0∑k-1θl3l = <n-1-p0,n-1-k1,n-1-lθl> ; l=0..k-1, #k=1, p=k+1..n-1 ; θl = -1,0,1 : an r-agonal r = 1+l=0∑k-1 |θl| |
||
|
monagonals <k1 ;#k=1 > |
The k'th monagonal | |
|
<01>: row <11>: column <21>: pilar |
||
|
axes [h0]<k1 ;#k=1 > |
The kth axis | |
|
[h0]<01>: x-axis [h0]<11>: y-axis [h0]<21>: z-axis [h0]<31>: w-axis |
Aspectial Variants | |
| the notations here are a bit experimental at this stage, but I think acceptable! | ||
|
Aspectial Variant nHm~R ^perm([0.n-1]) = [h0] { perm[k](<kθk ; #k=1 >) ; k = 0..n-1 }; θk ε {-1,1}; R = k=0Σn-1 ((θk == -1) ? 2k : 0) |
||
|
Note: Reflection and coordinate permutation do not commute conceptually it might be easier to do the coordinate permutation first and reflect afterwards the formula on the right-hand-side feels like doing the reflections first and permute the coordinates thereafter, hence this is indicated also on the left by the order of the indicators. I currently trust a studies of the commutator will reveal simple operations, one simply ends up with an other member of the set of n! 2n aspectial variants. |
||
| Normalized position | Hypercube in normalized position | |
|
nHm = [h0] { k(<k1 ; #k=1 >) ; k = 0..n-1 }; [h0] = min([k-1 ;#k=0..n]) ; [k1 ; #k=1] < [k+11 ; #k=1] ; k=0..n-2 |
||
|
Formulated is the 0-position with the set of all monagonal directions in normal order. The 0-position holds the minimum value of all the hypercubes corners The next monagonal position holds values ascending with ascending monagonal number |
||
| Reflected position | Hypercube in reflected position | |
|
nHm~R = [h0] { k(<kθk ; #k=1 >) ; k = 0..n-1 }; θk ε {-1,1} R = k=0Σn-1 ((θk == -1) ? 2k : 0) |
||
|
Reflected axes reverse their direction indicated by '-1' (or 'm-1') The directions reflected are bitwise added into a single reflection number R. |
||
|
Coordinate permuted position |
Hypercube in transposed position | |
|
nHm^perm([0.n-1]) = [h0] { perm[k](<k1 ;#k=1>) ; k = 0..n-1 } |
||
| coordinate permutation rearanges the directions amongst each other | ||