cisst-saw
|
#include <nmrDynAllocPolynomialContainer.h>
Public Types | |
typedef nmrPolynomialContainer < void * > | BaseType |
![]() | |
typedef nmrPolynomialBase | BaseType |
typedef void * | 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 |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
const TermInfoType & | GetTermInfo (const TermConstIteratorType &termIterator) const |
TermInfoType & | GetTermInfo (const TermConstIteratorType &termIterator) |
![]() | |
TermContainerType | Terms |
![]() | |
VariableIndexType | NumVariables |
PowerType | MinDegree |
PowerType | MaxDegree |
typedef nmrPolynomialContainer<void *> nmrDynAllocPolynomialContainer::BaseType |
|
inline |
|
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. |
Implements nmrPolynomialContainer< void * >.
Implemented in nmrBernsteinPolynomial, and nmrStandardPolynomial.
|
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. |
Implements nmrPolynomialContainer< void * >.
Implemented in nmrBernsteinPolynomial, and nmrStandardPolynomial.