Home > mpt > @polytope > length.m

length

PURPOSE ^

LENGTH Returns number of elements in a polytope array

SYNOPSIS ^

function len = length(P)

DESCRIPTION ^

LENGTH Returns number of elements in a polytope array

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 If P is a polytope array (i.e. P=(U Pi)), returns number of elements in the array

 NOTE: If P is a single polytope, returns 1

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

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------

 len - length of the array of polytopes

 see also END, SUBSREF, SUBSASGN

CROSS-REFERENCE INFORMATION ^

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