CGAL 5.1 - Polynomial
PolynomialTraits_d::UnivariateContent Class Reference

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

Definition

This AdaptableUnaryFunction computes the content of a PolynomialTraits_d::Polynomial_d with respect to the univariate (recursive) view on the polynomial, that is, it computes the gcd of all coefficients with respect to one variable.

This functor is well defined if PolynomialTraits_d::Coefficient_type is a Field or a UniqueFactorizationDomain.

Refines:

AdaptableUnaryFunction

CopyConstructible

DefaultConstructible

See also
Polynomial_d
PolynomialTraits_d

Types

typedef PolynomialTraits_d::Coefficient_type result_type
 
typedef PolynomialTraits_d::Polynomial_d argument_type
 

Operations

result_type operator() (argument_type p)
 Computes the content of \( p\) with respect to the outermost variable \( x_{d-1}\). More...
 

Member Typedef Documentation

◆ argument_type

◆ result_type

Member Function Documentation

◆ operator()()

result_type PolynomialTraits_d::UnivariateContent::operator() ( argument_type  p)

Computes the content of \( p\) with respect to the outermost variable \( x_{d-1}\).