\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.7 - Polynomial
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
PolynomialTraits_d::Compare Concept Reference

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

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

Member Function Documentation

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

Compares two polynomials.