#include <variable.h>
Inheritance diagram for SPARK::TUnknown:
Public Member Functions | |
Structors | |
TUnknown () | |
Default constructor. | |
TUnknown (SPARK::TVariable *variable) | |
Explicit constructor. | |
TUnknown (const TUnknown &unknown) | |
Copy constructor. | |
TUnknown & | operator= (const TUnknown &u) |
Main operations (used to switch between calling contexts internally) | |
void | Perturb () |
Prepares the interface for a perturbation. | |
void | RePerturb () |
Prepares the interface for a re-perturbation. | |
void | UnPerturb () |
Unperturb the interface after various perturbations. | |
Access methods | |
SPARK::TVariable & | operator * () |
Dereferencing operator. | |
const SPARK::TVariable & | operator * () const |
Const flavor of dereferencing operator. | |
SPARK::TVariable * | operator-> () |
Indirection operator. | |
const SPARK::TVariable * | operator-> () const |
Const flavor of indirection operator. | |
double | GetTarget () const |
Returns value from evaluating the matched object (used by TEquationSystem and TJacobian internally). | |
void | SetScale (double scalar) |
Sets the current scale to scalar. | |
Numerical access and arithmetic unary operators | |
The overloaded arithmetic operators operate on double only and are all unary operators. | |
operator double () const | |
TUnknown & | operator= (double scalar) |
TUnknown & | operator+= (double scalar) |
TUnknown & | operator-= (double scalar) |
TUnknown & | operator *= (double scalar) |
TUnknown & | operator/= (double scalar) |
Predicate methods |
Interface for internal manipulation of a SPARK::TVariable instance when it is an unknown. Dereference underlying SPARK::TVariable* and provides numeric interface for basic arithmetic.
|
Default constructor.
|
|
Explicit constructor.
|
|
Copy constructor.
|
|
Assignment operator
|
|
Prepares the interface for a perturbation.
|
|
Prepares the interface for a re-perturbation.
|
|
Unperturb the interface after various perturbations.
|
|
Dereferencing operator.
|
|
Const flavor of dereferencing operator.
|
|
Indirection operator.
|
|
Const flavor of indirection operator.
|
|
Returns value from evaluating the matched object (used by TEquationSystem and TJacobian internally).
Reimplemented from SPARK::Variable::TInterface. |
|
Sets the current scale to scalar.
|