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

#include <nmrPolynomialContainer.h>

Public Member Functions

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

Detailed Description

template<class _TermInfo>
class nmrPolynomialContainer< _TermInfo >::LessOrEqualityTester

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 less than or equal to the term index of a pair in the container.

Constructor & Destructor Documentation

◆ LessOrEqualityTester()

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

Member Function Documentation

◆ operator()()

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

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