gen_cross | R Documentation |
This function generates the d
-dimensional cross polytope in H- or V-representation.
gen_cross(dimension, representation = "H")
dimension |
The dimension of the cross polytope. |
representation |
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 = gen_cross(5, 'H')
# generate a 15-dimension cross polytope in V-representation
P = gen_cross(15, 'V')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.