Home > mpt > @polytope > or.m

or

PURPOSE ^

OR Convex union of n polytopes

SYNOPSIS ^

function [Pu,how] = or(varargin)

DESCRIPTION ^

OR Convex union of n polytopes

 [Pu, how] = or(varargin)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 This function tries to compute convex union of polytopes passed as input
 arguments delimited by comma

 USAGE:
   U = P1 | P2 | P3
   [U,how] = or(P1,P2,P3)

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 Polytopes

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 Pu   - polytope describing convex union in case such one exists, return array of input arguments otherwise
 how = 1  if union is convex
     = 0  union is not convex (in this case Pu a polytope array of the input arguments)

 see also UNION

CROSS-REFERENCE INFORMATION ^

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