Home > mpt > @polytope > mldivide.m

mldivide

PURPOSE ^

MLDIVIDE Set difference

SYNOPSIS ^

function [P]=mldivide(P1,P2,Options)

DESCRIPTION ^

MLDIVIDE Set difference

 Set difference

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Computes set difference between P1 and P2

 P1 and P2 can be both single polytopes and polytope arrays

 USAGE:
   R=P\Q
   R=mldivide(P,Q,Options)

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 P,Q                 - Polytopes or arrays of polytopes
 Options.abs_tol     - absolute tolerance
 Options.lpsolver    - Which LP solver to use (see help mpt_solveLP)
 Options.simplecheck - If set to 1, function aborts as soon as it detects
                       that P1\P2 is non-empty (answers the question: is P1
                       fully covered by P2? answer is true if P1\P2 is empty set)

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

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 R   - polytope (or polytope array) describing the set difference

 see also REGIONDIFF

CROSS-REFERENCE INFORMATION ^

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