Description Usage Arguments Value Examples

View source: R/gen_prod_simplex.R

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

1 | ```
gen_prod_simplex(dimension)
``` |

`dimension` |
The dimension of the simplices. |

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

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.