hasFunction

Purpose

Returns true if the union contains given function names.

Syntax

ts = hasFunction(U, FuncName)
ts = U.hasFunction(FuncName)

Description

Returns true or false if the function stored under FuncName is attached to union U.

Input Arguments

U

Union of sets derived from the ConvexSet class, e.g. Polyhedron, YSet, ...

Class: Union

FuncName

Name of the function to test.

Class: char

Output Arguments

ts

Logical statement if the set contains the function FuncName or not.

Class: logical

See Also

listfunctions, addfunction, removefunction


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

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