Home > mpt > @polytope > and.m

and

PURPOSE ^

AND Intersection of n polytopes

SYNOPSIS ^

function R = and(varargin)

DESCRIPTION ^

AND Intersection of n polytopes

 R = and(varargin)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Intersection of n polytopes

   R = AND(P1,P2,P3,...) returns normalized minimal representation
   of intersection of n polytopes P1, P2, P3,..., Pn

 USAGE:
   R = and(P1,P2,P3)
   R = P1 & P2

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 Polytopes delimited by comma. If P1 (or P2, etc.) are polytope arrays,
 then the elements of P1 are considered as seperate polytopes, i.e
 AND(P1) is the same as AND(P1(1),P1(2),P1(3),...).

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 R - Polytope containing the intersection of input arguments


 Note: INTERSECT and AND have different functionality.

 see also INTERSECT

CROSS-REFERENCE INFORMATION ^

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