Description Usage Arguments Value Details Examples
chebycenter Computes the centroid of a convex polytope
1 | chebycenter(A, b)
|
A |
a matrix |
b |
a vector of length equals to nrow(A) |
a vector corresponding to the centroid of the polytope
This code is a translation of the matlab code that can be found there (https://ch.mathworks.com/matlabcentral/fileexchange/34208-uniform-distribution-over-a-convex-polytope) It computes the centroid of the complex polytope defined by A \cdot x â¤qslant b
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.