P = hypercube d
P = hypercube(d, s)
P = hypercube(d, a, b)
Produces the d-dimensional hypercube $[-1,1]^d$. If provided with a scaling factor $s$, the hypercube $[-s,s]^d$ is returned. Alternatively one can specify the edge directly as $[a,b]$, then the hypercube $[a,b]^d$ is returned
|
|
|
|
|
|
The object hypercube is a method function.