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