|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
A variable class to hold a variable as a term. More...
#include <ossimTerm.h>
Public Member Functions | |
| ossimVar (const ossim_uint32 &variable) | |
| Public Constructor. More... | |
| ossimVar (const ossimVar &src) | |
| Public Copy Constructor. More... | |
| ~ossimVar () | |
| Destroys the variable. More... | |
| ossim_float64 | evaluate (std::vector< ossim_float64 > point) const |
| Evaluates a variable for a point. More... | |
| ossimTerm * | derivative (const ossim_uint32 &variable) const |
| Calculates the derivative for a variable. More... | |
| ossim_uint32 | getType () const |
| Gets the type of a variable. More... | |
| ossimTerm * | copy () const |
| Creates a copy of the variable. More... | |
Public Member Functions inherited from ossimTerm | |
| virtual | ~ossimTerm () |
| Virtual destructor for destroying tree from the top node. More... | |
| ossim_float64 | operator() (std::vector< ossim_float64 > point) const |
| Evaluates the function for a point. More... | |
| ossimTerm * | operator+ (ossimTerm *rhs) const |
| Returns a copy of the two terms in a polynomial. More... | |
| ossimTerm * | operator* (ossimTerm *rhs) const |
| Returns a copy of the two terms in a product. More... | |
Private Attributes | |
| ossim_uint32 | var |
A variable class to hold a variable as a term.
Definition at line 309 of file ossimTerm.h.
|
inline |
Public Constructor.
| [in] | variable | The variable number |
Definition at line 318 of file ossimTerm.h.
Referenced by copy(), and derivative().
|
inline |
Public Copy Constructor.
| [in] | src | The source to be copied |
Definition at line 324 of file ossimTerm.h.
|
inline |
|
virtual |
Creates a copy of the variable.
Implements ossimTerm.
Definition at line 150 of file ossimTerm.cpp.
References ossimVar(), and var.
|
virtual |
Calculates the derivative for a variable.
OSSIM VARIABLE AS A TERM.
| [in] | variable | The variable in which the derivative is with respect too. |
Calculates the derivative for a variable
| [in] | variable | The variable in which the derivative is with respect too. |
Implements ossimTerm.
Definition at line 139 of file ossimTerm.cpp.
References ossimVar(), var, and variable.
|
inlinevirtual |
Evaluates a variable for a point.
| [in] | point | The point to be evaluated |
Implements ossimTerm.
Definition at line 338 of file ossimTerm.h.
|
inlinevirtual |
Gets the type of a variable.
Implements ossimTerm.
Definition at line 354 of file ossimTerm.h.
References variable.
|
private |
Definition at line 363 of file ossimTerm.h.
Referenced by copy(), and derivative().
1.8.14