Extract function handle from a convex set.
F = getFunction(Set, FuncName)
F = Set.getFunction(FuncName)
Set |
Any object derived from the ConvexSet class, e.g. Polyhedron, YSet, ... Class: ConvexSet |
FuncName |
Name of the function to extract. Class: char |
F |
Function object stored under the FuncName string. Class: Function |
P = ExamplePoly.randHrep;
P.addFunction(AffFunction([1, -2]),'a');
P.addFunction(QuadFunction([0 0.4;-0.1 0.2]),'b');Extract the function "b" from the set
F = P.getFunction('b')
Quadratic Function: R^2 -> R^1
◀ | support | affinehull | ▶ |
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch
© 2003-2013 Michal Kvasnica: STU Bratislava, michal.kvasnica@stuba.sk