gen_prod_simplex: Generator function for product of simplices

View source: R/gen_prod_simplex.R

gen_prod_simplexR Documentation

Generator function for product of simplices

Description

This function generates a 2d-dimensional polytope that is defined as the product of two d-dimensional unit simplices in H-representation.

Usage

gen_prod_simplex(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

# generate a product of two 5-dimensional simplices.
P = gen_prod_simplex(5)

volesti documentation built on Sept. 19, 2023, 5:08 p.m.