validate an H-representation or V-representation of convex polyhedron
validate an H-representation or V-representation of convex polyhedron
Validate an H-representation or V-representation of convex polyhedron, see scdd for description of valid representations.
validcdd(x, representation = c("H","V"))
Arguments
x: an H-representation or V-representation to be validated.
representation: if "H", validate x as an H-representation, otherwise as a V-representation. May also be obtained from a "representation" attribute of x, if present.
Returns
always TRUE. Fails with error message if not a valid object.