Home > mpt > @polytope > volume.m

volume

PURPOSE ^

VOLUME Calculates volume of a polytope

SYNOPSIS ^

function V=volume(P,Options)

DESCRIPTION ^

VOLUME Calculates volume of a polytope

 V=volume(P)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Computes volume of a given polytope

   V = volume(P,Options)

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 P                      - Polytope 
 Options.extreme_solver - Which method to use for extreme point enumeration
                          (see help extreme)

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

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 V     - Volume of the polytope. If input argument is a polytope array,
         the output will be an array of volumes of corresponding polytopes.

 see also EXTREME

CROSS-REFERENCE INFORMATION ^

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