Home > mpt > @polytope > set.m

set

PURPOSE ^

SET Used to modify internal properties of a given polytope object

SYNOPSIS ^

function P = set(varargin)

DESCRIPTION ^

SET Used to modify internal properties of a given polytope object

 P = set(varargin)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 P = SET(P,'PropertyName', PropertyValue....) sets properties (fields) of a polytope P

 USAGE:
   VALUE = SET(P,'PropertyName',PropertyValue)
   i.e. value = get(P,'minrep',0)

 List of properties that can be accessed:
   H, K, minrep, normal, xCheb, RCheb, vertices

 WARNING:
   Be sure that you set all fields to correct values! Many internal routines rely on
   informations already stored in a structure, hence modifying them without a good 
   knowledge about the internal structure may lead to serious consequences!

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 P     - Polytopes
 name  - String giving name of the property
 value - Value of that property

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 P     - Updated polytope P

 see also GET

CROSS-REFERENCE INFORMATION ^

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