This article describes an effective evaluation of pairwise distances among points that form a regular orthogonal grid inside a unit hypercube. Such an regular arrangement of points have many applications one of which is the Design of Experiments – the arrangement is known as the Full Factorial Design. The proposed process of calculation exploits the repeated point projections. Using combinatorial rules, the paper presents a closed-form exact formula that enables faster evaluation of pairwise distances and their counts compared to naive approach that enumerates the list of all possible pairs of points.

1.
K.-T.
Fang
,
C.-X.
Ma
, and
P.
Winker
,
Mathematics of Computation
71
,
275
296
(
2000
).
2.
M.
Vořechovský
,
Computer-Aided Civil and Infrastructure Engineering
30
,
394
411
(
2015
).
3.
J.
Eliáš
and
M.
Vořechovský
,
Advances in Engineering Software
100
,
82
96
(
2016
).
4.
P.
Audze
and
V.
Eglājs
,
Problems of Dynamics and Strengths
35
,
104
107
(
1977
), (in Russian).
5.
S.
Bates
,
J.
Sienz
, and
D.
Langley
,
Advances in Engineering Software
34
,
493
506
(
2003
).
6.
D. C.
Montgomery
,
Design and Analysis of Experiments
, 8th ed. (
John Wiley & Sons, Incorporated
,
2012
).
This content is only available via PDF.
You do not currently have access to this content.