Home > mpt > @polytope > gt.m

gt

PURPOSE ^

GT Checks if polytope P is a strict superset of polytope Q

SYNOPSIS ^

function status = gt(P,Q,Options)

DESCRIPTION ^

GT Checks if polytope P is a strict superset of polytope Q

 status = gt(P,Q,Options)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 STATUS = GT(P,Q) returns TRUE (1) if P>Q (i.e. P is a strict superset of Q)

 USAGE:
   P>Q
   gt(P,Q)
   gt(P,Q,Options)

 NOTE:
   comparing two polyarrays involves making a minkowski sum of one of them
   with an epsilon-box. This operation is computationally very expensive, so
   try to use no-strict operator (>=) if possible.

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 P,Q                 - Polytopes
 Options.rel_tol     - relative tolerance
 Options.abs_tol     - absolute tolerance
 Options.lpsolver    - LP solver to use (see help mpt_solveLP)
 Options.verbose     - level of verbosity
 Options.elementwise - compares two polyarrays elementwise

 Note: If Options is missing or some of the fields are not defined, the default
       values from mptOptions will be used

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 status           - Logical statement (true if P>Q, false otherwise)

 see also GE, LT, LE, EQ, NE

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003