An abstract class to containing a multivariable function.
ossimTerm * operator*(ossimTerm *rhs) const
Returns a copy of the two terms in a product.
ossimTerm * operator+(ossimTerm *rhs) const
Returns a copy of the two terms in a polynomial.
virtual ossimTerm * derivative(const ossim_uint32 &variable) const =0
Calculates the derivative of the term.
ossimVar(const ossim_uint32 &variable)
Public Constructor.
ossimTerm * copy() const
Creates a copy of the product.
A polynomial class to hold a product as a term.
ossimTerm * derivative(const ossim_uint32 &variable) const
Calculates the derivative for a product.
unsigned int ossim_uint32
A polynomial class to hold a polynomial as a term.
A constant class to hold a constant as a term.
ossimMonom(const ossim_float64 &coeffient, ossimTerm *variable, const ossim_float64 &exponential)
Public Constructor.
ossimTerm * copy() const
Creates a copy of the constant.
ossimPolynomial(ossimTerm *leftTerm, ossimTerm *rightTerm)
Public Constructor.
ossimTerm * derivative(const ossim_uint32 &variable) const
Calculates the derivative for a polynomial.
ossimTerm * derivative(const ossim_uint32 &variable) const
Calculates the derivative for a constant.
ossimConst(const ossim_float64 &value)
Public Constructor.
virtual ossimTerm * copy() const =0
Returns a pointer to a copy of the term.
ossimProd(ossimTerm *leftTerm, ossimTerm *rightTerm)
Public Constructor.
ossimTerm * copy() const
Creates a copy of the variable.
ossimTerm * copy() const
Creates a copy of the polynomial.
ossimTerm * copy() const
Creates a copy of the monomial.
ossimTerm * derivative(const ossim_uint32 &variable) const
Calculates the derivative for a variable.
ossimTerm * derivative(const ossim_uint32 &variable) const
Calculates the derivative for a monomial.