It is common to consider random functions whose domain is time, space, or $n$-dimensional space.
Let $(X, d)$ be a metric space. A
distance covariance
function $k: X \times X \to \R $ is a
covariance function satisfying
\[
k(x, y) > k(x, y) \iff d(x, y) < d(x, y).
\]
Let $k: X \times X \to \R $ be defined by
\[
k(x, y) = \exp(-d(x, y)).
\]
Let $\alpha , \sigma \in \R $.
Define $k': X \times X \to \R $ by
\[
k'(x, y) = \alpha \exp(-d(x, y)/\sigma ^2)
\]
Suppose $(X, d) = (\R ^n, \norm{\cdot })$.
Then the squared exponential covariance function
\[
\alpha \exp(-\norm{x - y}/(2\sigma ^2))
\]