cisst-saw
Loading...
Searching...
No Matches
nmrPolynomialContainer< _TermInfo >::EqualityTester Class Reference

#include <nmrPolynomialContainer.h>

Public Member Functions

 EqualityTester (const nmrPolynomialTermPowerIndex &target)
bool operator() (const ContainerElementType &element)

Detailed Description

template<class _TermInfo>
class nmrPolynomialContainer< _TermInfo >::EqualityTester

Here we define an auxiliary functor class to compare objects of type nmrPolynomialTermPowerIndex . The functor class can be used in STL algorithms such as find_if. The member operator() returns true if the input target term index is equal to the term index of a pair in the container.

Constructor & Destructor Documentation

◆ EqualityTester()

template<class _TermInfo>
nmrPolynomialContainer< _TermInfo >::EqualityTester::EqualityTester ( const nmrPolynomialTermPowerIndex & target)
inline

Member Function Documentation

◆ operator()()

template<class _TermInfo>
bool nmrPolynomialContainer< _TermInfo >::EqualityTester::operator() ( const ContainerElementType & element)
inline

The documentation for this class was generated from the following file: