listFunctions

Purpose

Shows functions attached to a convex set.

Syntax

l = listFunctions(Set)
l = Set.listFunctions

Description

Shows all Function objects that are attached to a convex Set.

Input Arguments

Set

Any object derived from the ConvexSet class, e.g. Polyhedron, YSet, ...

Class: ConvexSet

Output Arguments

l

List of function names stored with the set.

Class: cell

Example(s)

Example 1

The polyhedron contains two functions "a" and "b".
 P = ExamplePoly.randHrep; 

 P.addFunction(AffFunction([1, -2]),'a'); 

 P.addFunction(QuadFunction([0 0.4;-0.1 0.2]),'b'); 
 List all functions in the set 
 l = P.listFunctions 
l = 

    'a'    'b'

See Also

addfunction, getfunction, removefunction


© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch

© 2003-2013 Michal Kvasnica: STU Bratislava, michal.kvasnica@stuba.sk