|
cisst-saw
|
#include <nmrPolynomialContainer.h>
Classes | |
| class | EqualityTester |
| class | LessOrEqualityTester |
Public Types | |
| typedef nmrPolynomialBase | BaseType |
| typedef _TermInfo | TermInfoType |
| typedef std::pair< nmrPolynomialTermPowerIndex, TermInfoType > | ContainerElementType |
| typedef std::list< ContainerElementType > | TermContainerType |
| typedef TermContainerType::value_type | TermType |
| typedef TermContainerType::iterator | TermIteratorType |
| typedef TermContainerType::const_iterator | TermConstIteratorType |
| Public Types inherited from nmrPolynomialBase | |
| enum | InsertStatus { INSERT_FAIL = -1 , INSERT_NEW = 0 , INSERT_REPLACE = 1 } |
| typedef double | ValueType |
| typedef double | VariableType |
| typedef double | CoefficientType |
| typedef nmrPolynomialTermPowerIndex::VariableIndexType | VariableIndexType |
| typedef nmrPolynomialTermPowerIndex::PowerType | PowerType |
| typedef nmrPolynomialTermPowerIndex::MultinomialCoefficientType | TermCounterType |
Protected Member Functions | |
| const TermInfoType & | GetTermInfo (const TermConstIteratorType &termIterator) const |
| TermInfoType & | GetTermInfo (const TermConstIteratorType &termIterator) |
Protected Attributes | |
| TermContainerType | Terms |
| Protected Attributes inherited from nmrPolynomialBase | |
| VariableIndexType | NumVariables |
| PowerType | MinDegree |
| PowerType | MaxDegree |
| typedef nmrPolynomialBase nmrPolynomialContainer< _TermInfo >::BaseType |
| typedef std::pair<nmrPolynomialTermPowerIndex, TermInfoType> nmrPolynomialContainer< _TermInfo >::ContainerElementType |
| typedef TermContainerType::const_iterator nmrPolynomialContainer< _TermInfo >::TermConstIteratorType |
| typedef std::list<ContainerElementType> nmrPolynomialContainer< _TermInfo >::TermContainerType |
| typedef _TermInfo nmrPolynomialContainer< _TermInfo >::TermInfoType |
| typedef TermContainerType::iterator nmrPolynomialContainer< _TermInfo >::TermIteratorType |
| typedef TermContainerType::value_type nmrPolynomialContainer< _TermInfo >::TermType |
|
inline |
|
inlinevirtual |
|
pure virtual |
Overloaded from nmrPolynomialBase and declared abstract as the implementation varies in subtypes. See subtype implementations
Implements nmrPolynomialBase.
Implemented in nmrStandardPolynomial.
|
pure virtual |
Overloaded from nmrPolynomialBase. See subtype implementations
Implements nmrPolynomialBase.
Implemented in nmrStandardPolynomial.
|
inlinevirtual |
Implements nmrPolynomialBase.
Reimplemented in nmrStandardPolynomial.
|
inlinevirtual |
Implements nmrPolynomialBase.
|
inlinevirtual |
nmrPolynomialBase::DeserializeRaw() plus deserialize all the terms. For each term we use nmrPolynomialTermPowerIndex::DeserializeIndexRaw() and then call the abstract DeserializeTermInfo() to complete the rest of the term information.
Reimplemented from nmrPolynomialBase.
|
pure virtual |
Deserialize and do other necessary initializations for the TermInfoMember associated with the power index of a term. This function should be complementart to SerializeTermInfo.
| input | the input deserialization stream |
| termIterator | an iterator referreing to the term whose contents are being deserialized. |
Implemented in nmrDynAllocPolynomialContainer, and nmrStandardPolynomial.
|
inline |
|
inline |
|
inlinevirtual |
Evaluate the polynomial for externally given variables
Implements nmrPolynomialBase.
|
pure virtual |
Implemented in nmrStandardPolynomial.
|
pure virtual |
Implemented in nmrStandardPolynomial.
|
inlinevirtual |
Evaluate the basis functions of the terms as a vector of values.
Implements nmrPolynomialBase.
|
inlinevirtual |
Evaluate the polynomial at the currently specified point, using externally defined coefficients. This lets the user create many polynomials over the same set of basis functions without having to duplicate the terms. The input coefficients must be ordered the same way as the terms in this object. It is best to order them using CollectCoefficients()
Implements nmrPolynomialBase.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements nmrPolynomialBase.
|
inline |
|
inline |
|
inline |
|
inline |
|
pure virtual |
Implemented in nmrStandardPolynomial.
|
pure virtual |
Implemented in nmrStandardPolynomial.
|
inlinevirtual |
Implements nmrPolynomialBase.
|
inlinevirtual |
Implements nmrPolynomialBase.
|
inlineprotected |
|
inlineprotected |
|
inline |
Return the iterator for a term identified by its sequential number (as in GetIndexPosition).
|
inline |
|
inline |
|
inlinevirtual |
Implements nmrPolynomialBase.
|
inlinevirtual |
Implements nmrPolynomialBase.
|
inlinevirtual |
Implements nmrPolynomialBase.
|
inlinevirtual |
Reimplemented in nmrStandardPolynomial.
|
inlinevirtual |
Implements nmrPolynomialBase.
|
inlinevirtual |
Overloaded from nmrPolynomialBase
Implements nmrPolynomialBase.
|
inlinevirtual |
nmrPolynomialBase::SerializeRaw() plus serialize for each term the power index in nmrPolynomialTermPowerIndex::SerializeIndexRaw() format, and the specific term information by calling the abstract SerializeTermInfo for that term.
Reimplemented from nmrPolynomialBase.
|
pure virtual |
Serialize the TermInfo member associated with the power index of a term. The implementation of this function is to be specific per TermInfo concrete type, and so it should be overridden in the derived classes. This function is called from SerializeRaw().
| output | the output serializetion stream |
| termIterator | an iterator referring to the term whose contents are being serialized. |
Implemented in nmrDynAllocPolynomialContainer, and nmrStandardPolynomial.
|
pure virtual |
Implements nmrPolynomialBase.
Implemented in nmrStandardPolynomial.
|
pure virtual |
Implemented in nmrStandardPolynomial.
|
inlinevirtual |
|
inlinevirtual |
|
protected |