Home > mpt > @polytope > uminus.m

uminus

PURPOSE ^

UMINUS Unary minus for a polytope

SYNOPSIS ^

function P=uminus(P)

DESCRIPTION ^

UMINUS Unary minus for a polytope

 R = uminus(P)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------

 Mirrors polytope around the origin

 USAGE:
   R = -P
   R=uminus(P)

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 P   - polytope

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 R   - polytope mirrored around the origin

 see also UPLUS

CROSS-REFERENCE INFORMATION ^

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