Generates a sample from a uniform distribution on a hypercube, the faces
of a hypercube or the ``edges'' of a hyper cube.
Usage
hyperCube(Ns, n, side = 1)
hyperCubeFaces(Ns, n)
hyperCubeEdges(Ns, d, n)
Arguments
Ns
number of data points.
d
dimension of edges.
n
dimension of the hypercube.
side
the length of the side of the hyper cube.
Value
A Ns by n matrix.
Details
The hypercube is \([0,1]^n\). The edges of dimension d of the
hypercube are the d-dimensional boundaries of the hypercube. The
hypercube faces are the hyper cube edges of dimension n-1.