|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
An abstract class to containing a multivariable function. More...
#include <ossimTerm.h>
Public Member Functions | |
| virtual | ~ossimTerm () |
| Virtual destructor for destroying tree from the top node. More... | |
| virtual ossim_float64 | evaluate (std::vector< ossim_float64 >) const =0 |
| Evaluates a term at a given point PURE VIRTUAL. More... | |
| virtual ossimTerm * | derivative (const ossim_uint32 &variable) const =0 |
| Calculates the derivative of the term. More... | |
| virtual ossim_uint32 | getType () const =0 |
| Gets the type. More... | |
| virtual ossimTerm * | copy () const =0 |
| Returns a pointer to a copy of the term. 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... | |
An abstract class to containing a multivariable function.
Definition at line 35 of file ossimTerm.h.
|
inlinevirtual |
Virtual destructor for destroying tree from the top node.
Definition at line 43 of file ossimTerm.h.
|
pure virtual |
Returns a pointer to a copy of the term.
Implemented in ossimConst, ossimVar, ossimProd, ossimPolynomial, and ossimMonom.
Referenced by ossimMonom::copy(), ossimPolynomial::copy(), ossimProd::copy(), ossimProd::derivative(), operator*(), and operator+().
|
pure virtual |
Calculates the derivative of the term.
| [in] | variable | The variable in which the derivative is with respect too |
Implemented in ossimConst, ossimVar, ossimProd, ossimPolynomial, and ossimMonom.
Referenced by ossimMonom::derivative(), ossimPolynomial::derivative(), ossimProd::derivative(), and ossimGDoptimizer::optimize().
|
pure virtual |
Evaluates a term at a given point PURE VIRTUAL.
| [in] | point | The point to be evaluated |
Implemented in ossimConst, ossimVar, ossimProd, ossimPolynomial, and ossimMonom.
|
pure virtual |
Gets the type.
Implemented in ossimConst, ossimVar, ossimProd, ossimPolynomial, and ossimMonom.
|
inline |
Evaluates the function for a point.
| point | The point at which the function is being evaluated |
Definition at line 85 of file ossimTerm.h.
Returns a copy of the two terms in a product.
| rhs | The right hand term of the product |
Definition at line 37 of file ossimTerm.cpp.
References copy().
Returns a copy of the two terms in a polynomial.
Mathematical term data structure for ossim.
| rhs | The right hand term of the polynomial |
See top level LICENSE.txt file.
OSSIM TERM Returns a copy of the two terms in a polynomial
| rhs | The right hand term of the polynomial |
Definition at line 27 of file ossimTerm.cpp.
References copy().
1.8.14