GenSimplex {volesti} | R Documentation |
This function can be used to generate the d-dimensional unit simplex in H- or V-representation.
GenSimplex(dimension, repr)
dimension |
The dimension of the unit simplex. |
repr |
A string to declare the representation. It has to be |
A polytope class representing the d-dimensional unit simplex in H- or V-representation.
# generate a 10-dimensional simplex in H-representation PolyList = GenSimplex(10, 'H') # generate a 20-dimensional simplex in V-representation P = GenSimplex(20, 'V')