Home > mpt > @polytope > envelope.m

envelope

PURPOSE ^

ENVELOPE Computes envelope of n polytopes

SYNOPSIS ^

function R=envelope(P,Options)

DESCRIPTION ^

ENVELOPE Computes envelope of n polytopes

 R=envelope(P,Options)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Compute envelope of polytopes

 USAGE:
   R=envelope([P1 P2 P3]) - computes envelope of 3 polytope P1, P2 and P3
   R=envelope(PA)         - if PA is a polytope array, computes envelope of the
                            polytopes contained in that array.

 NOTE: the envelope may not exist! In that case the function returns R^n
       (read the input section on how R^n is implemented)

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 P                 - Polytope array
 Options.lpsolver  - LP solver to use (see help mpt_solveLP)
 Options.abs_tol   - absolute tolerance
 Options.infbox    - Internally, R^n is converted to a large box. This argument
                       specifies bounds of this box.

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

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 R   - Polytope describing the envelope

 see also BOUNDING_BOX, UNION, HULL

CROSS-REFERENCE INFORMATION ^

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