powered by
This function generates a \(2d\)-dimensional polytope that is defined as the product of two \(d\)-dimensional unit simplices in H-representation.
gen_prod_simplex(dimension)
A polytope class representing the product of the two \(d\)-dimensional unit simplices in H-representation.
The dimension of the simplices.
# generate a product of two 5-dimensional simplices. P = gen_prod_simplex(5)
Run the code above in your browser using DataLab