Hpolytope-class: An R class to represent an H-polytope
Description
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\).
Arguments
Details
A
An \(m\times d\) numerical matrix.
b
An \(m\)-dimensional vector b.
volume
The volume of the polytope if it is known, \(NaN\) otherwise by default.
type
A character with default value 'Hpolytope', to declare the representation of the polytope.