Hpolytope-class | R Documentation |
An H-polytope is a convex polytope defined by a set of linear inequalities or equivalently a d
-dimensional H-polytope with m
facets is defined by a m\times d
matrix A and a m
-dimensional vector b, s.t.: Ax\leq b
.
An m\times d
numerical matrix.
An m
-dimensional vector b.
The volume of the polytope if it is known, NaN
otherwise by default.
A character with default value 'Hpolytope', to declare the representation of the polytope.
A = matrix(c(-1,0,0,-1,1,1), ncol=2, nrow=3, byrow=TRUE)
b = c(0,0,1)
P = Hpolytope(A = A, b = b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.