# NOT RUN {
# compute the Chebychev ball of the 2d unit simplex
P = GenSimplex(2,'H')
ball_vec = InnerBall(P)
# compute an inscribed ball of the 3-dimensional unit cube in V-representation
P = GenCube(3, 'V')
ball_vec = InnerBall(P)
# }
Run the code above in your browser using DataLab