OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
A polynomial class to hold a product as a term. More...
#include <ossimTerm.h>
Public Member Functions | |
ossimProd (ossimTerm *leftTerm, ossimTerm *rightTerm) | |
Public Constructor. More... | |
ossimProd (const ossimProd &src) | |
Public Copy Constructor. More... | |
~ossimProd () | |
Destroys the product. More... | |
ossim_float64 | evaluate (std::vector< ossim_float64 > point) const |
Evaluates a product for a point. More... | |
ossimTerm * | derivative (const ossim_uint32 &variable) const |
Calculates the derivative for a product. More... | |
ossim_uint32 | getType () const |
Gets the type of a product. More... | |
ossimTerm * | copy () const |
Creates a copy of the product. More... | |
![]() | |
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 | |
ossimTerm * | lTerm |
ossimTerm * | rTerm |
A polynomial class to hold a product as a term.
Definition at line 244 of file ossimTerm.h.
Public Constructor.
leftTerm | The left term |
rightTerm | The right term |
Definition at line 254 of file ossimTerm.h.
Referenced by copy(), and derivative().
|
inline |
Public Copy Constructor.
[in] | src | The source to be copied |
Definition at line 260 of file ossimTerm.h.
|
inline |
|
virtual |
Creates a copy of the product.
Implements ossimTerm.
Definition at line 121 of file ossimTerm.cpp.
References ossimTerm::copy(), lTerm, ossimProd(), and rTerm.
|
virtual |
Calculates the derivative for a product.
OSSIM PRODUCT AS A TERM.
[in] | variable | The variable in which the derivative is with respect too. |
Calculates the derivative for a product
[in] | variable | The variable in which the derivative is with respect too. |
Implements ossimTerm.
Definition at line 111 of file ossimTerm.cpp.
References ossimTerm::copy(), ossimTerm::derivative(), lTerm, ossimProd(), rTerm, and variable.
|
inlinevirtual |
Evaluates a product for a point.
[in] | point | The point to be evaluated |
Implements ossimTerm.
Definition at line 274 of file ossimTerm.h.
|
inlinevirtual |
Gets the type of a product.
Implements ossimTerm.
Definition at line 290 of file ossimTerm.h.
References product.
|
private |
Definition at line 299 of file ossimTerm.h.
Referenced by copy(), and derivative().
|
private |
Definition at line 300 of file ossimTerm.h.
Referenced by copy(), and derivative().