CGAL 5.1 - Polynomial
PolynomialTraits_d::Compare Class Reference

#include <Concepts/PolynomialTraits_d--Compare.h>

Definition

This AdaptableBinaryFunction compares two polynomials, with respect to the lexicographic order with preference to the outermost variable.

This functor is well defined if PolynomialTraits_d::Innermost_coefficient_type is RealEmbeddable.

Refines:

AdaptableBinaryFunction

CopyConstructible

DefaultConstructible

See also
Polynomial_d
PolynomialTraits_d

Types

typedef CGAL::Comparison_result result_type
 
typedef PolynomialTraits_d::Polynomial_d first_argument_type
 
typedef PolynomialTraits_d::Polynomial_d second_argument_type
 

Operations

result_type operator() (first_argument_type f, second_argument_type g)
 Compares two polynomials. More...
 

Member Typedef Documentation

◆ first_argument_type

typedef PolynomialTraits_d::Polynomial_d PolynomialTraits_d::Compare::first_argument_type

◆ result_type

typedef CGAL::Comparison_result PolynomialTraits_d::Compare::result_type

◆ second_argument_type

typedef PolynomialTraits_d::Polynomial_d PolynomialTraits_d::Compare::second_argument_type

Member Function Documentation

◆ operator()()

result_type PolynomialTraits_d::Compare::operator() ( first_argument_type  f,
second_argument_type  g 
)

Compares two polynomials.