Learn R Programming

volesti (version 1.0.0)

GenProdSimplex: Generator function for product of simplices

Description

This function can be used to generate a \(2d\)-dimensional polytope that is defined as the product of two \(d\)-dimensional unit simplices in H-representation.

Usage

GenProdSimplex(dimension)

Arguments

dimension

The dimension of the simplices.

Value

A polytope class representing the product of the two \(d\)-dimensional unit simplices in H-representation.

Examples

Run this code
# NOT RUN {
# generate a product of two 5-dimensional simplices.
P = GenProdSimplex(5)
# }

Run the code above in your browser using DataLab