#include <Variable.h>
Inheritance diagram for UnknownVariable:
Public Member Functions | |
UnknownVariable (string cat_, string name_, string title_="", bool is_local=true, bool is_builtin=false, bool is_active=true) | |
UnknownVariable () | |
UnknownVariable (const UnknownVariable *variable) | |
virtual ExpressionItem * | copy () const |
virtual void | set (const ExpressionItem *item) |
bool | isKnown () const |
void | setAssumptions (Assumptions *ass) |
Assumptions * | assumptions () |
int | subtype () const |
virtual bool | representsPositive (bool=false) |
virtual bool | representsNegative (bool=false) |
virtual bool | representsNonNegative (bool=false) |
virtual bool | representsNonPositive (bool=false) |
virtual bool | representsInteger (bool=false) |
virtual bool | representsNumber (bool=false) |
virtual bool | representsRational (bool=false) |
virtual bool | representsReal (bool=false) |
virtual bool | representsComplex (bool=false) |
virtual bool | representsNonZero (bool=false) |
virtual bool | representsNonMatrix () |
Protected Attributes | |
Assumptions * | o_assumption |
Unknown variables have an associated assumption object.
|
Create an unknown.
|
|
Create an empty unknown variable. |
|
Create a copy of an unknown variable.
|
|
Returns the assumptions of the unknown variable.
|
|
Returns if the variable has a known value (as oppossed to assumptions).
Implements Variable. |
|
Returns if the variable represents a positive value. Reimplemented from Variable. |
|
Sets the assumptions of the unknown variable.
|
|
Returns the subtype of the variable, corresponding to which subsubclass the object belongs to.
Reimplemented from Variable. |