carl  24.04
Computer ARithmetic Library
std::less< carl::UnivariatePolynomial< Coefficient > > Struct Template Reference

Specialization of std::less for univariate polynomials. More...

#include <UnivariatePolynomial.h>

Public Member Functions

 less (carl::PolynomialComparisonOrder _order=carl::PolynomialComparisonOrder::Default) noexcept
 
bool operator() (const carl::UnivariatePolynomial< Coefficient > &lhs, const carl::UnivariatePolynomial< Coefficient > &rhs) const
 Compares two univariate polynomials. More...
 
bool operator() (const carl::UnivariatePolynomial< Coefficient > *lhs, const carl::UnivariatePolynomial< Coefficient > *rhs) const
 Compares two pointers to univariate polynomials. More...
 
bool operator() (const carl::UnivariatePolynomialPtr< Coefficient > &lhs, const carl::UnivariatePolynomialPtr< Coefficient > &rhs) const
 Compares two shared pointers to univariate polynomials. More...
 

Data Fields

carl::PolynomialComparisonOrder order
 

Detailed Description

template<typename Coefficient>
struct std::less< carl::UnivariatePolynomial< Coefficient > >

Specialization of std::less for univariate polynomials.

Definition at line 863 of file UnivariatePolynomial.h.

Constructor & Destructor Documentation

◆ less()

template<typename Coefficient >
std::less< carl::UnivariatePolynomial< Coefficient > >::less ( carl::PolynomialComparisonOrder  _order = carl::PolynomialComparisonOrder::Default)
inlineexplicitnoexcept

Definition at line 865 of file UnivariatePolynomial.h.

Member Function Documentation

◆ operator()() [1/3]

template<typename Coefficient >
bool std::less< carl::UnivariatePolynomial< Coefficient > >::operator() ( const carl::UnivariatePolynomial< Coefficient > &  lhs,
const carl::UnivariatePolynomial< Coefficient > &  rhs 
) const
inline

Compares two univariate polynomials.

Parameters
lhsFirst polynomial.
rhsSecond polynomial
Returns
lhs < rhs.

Definition at line 872 of file UnivariatePolynomial.h.

Here is the call graph for this function:

◆ operator()() [2/3]

template<typename Coefficient >
bool std::less< carl::UnivariatePolynomial< Coefficient > >::operator() ( const carl::UnivariatePolynomial< Coefficient > *  lhs,
const carl::UnivariatePolynomial< Coefficient > *  rhs 
) const
inline

Compares two pointers to univariate polynomials.

Parameters
lhsFirst polynomial.
rhsSecond polynomial
Returns
lhs < rhs.

Definition at line 881 of file UnivariatePolynomial.h.

Here is the call graph for this function:

◆ operator()() [3/3]

template<typename Coefficient >
bool std::less< carl::UnivariatePolynomial< Coefficient > >::operator() ( const carl::UnivariatePolynomialPtr< Coefficient > &  lhs,
const carl::UnivariatePolynomialPtr< Coefficient > &  rhs 
) const
inline

Compares two shared pointers to univariate polynomials.

Parameters
lhsFirst polynomial.
rhsSecond polynomial
Returns
lhs < rhs.

Definition at line 892 of file UnivariatePolynomial.h.

Field Documentation

◆ order

template<typename Coefficient >
carl::PolynomialComparisonOrder std::less< carl::UnivariatePolynomial< Coefficient > >::order

Definition at line 864 of file UnivariatePolynomial.h.


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