| support | R Documentation |
Compute the classical support function for a zonotope. It also computes a point on the boundary where the linear functional is maximized, and the dimension of the face where the supporting hyperplane intersects the zonotope.
## S3 method for class 'zonotope'
support( x, direction, tol=5.e-15 )
x |
a zonotope object - a zonohedron, a zonogon, or a zonoseg |
direction |
an NxM matrix with N directions in the rows.
If |
tol |
the tolerance for determining whether the supporting hyperplane
intersects a face with positive dimension.
This does not affect the value of the support function.
For a zonoseg, |
The function returns a data.frame with N rows and these columns:
direction |
the given direction |
value |
the value of the support function of |
argmax |
a point on the boundary of |
dimension |
of the face where the supporting hyperplane intersects the zonotope. 0 means a vertex, 1 means an edge, and 2 means a 2-face. |
If direction is 0, the other columns are NA.
If the rownames of direction are unique,
they are copied to the row names of the output.
In case of error, the function returns NULL.
Wikipedia - Support function
https://en.wikipedia.org/wiki/Support_function
zonoseg()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.