powered by
This function generates a \(d\)-dimensional skinny hypercube \([-1,1]^{d-1}\times [-100,100]\).
gen_skinny_cube(dimension)
A polytope class representing the \(d\)-dimensional skinny hypercube in H-representation.
The dimension of the skinny hypercube.
# generate a 10-dimensional skinny hypercube. P = gen_skinny_cube(10)
Run the code above in your browser using DataLab