PolynomialTraits_d::UnivariateContent

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

Types

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

Operations

result_type fo ( argument_type p ) Computes the content of p with respect to the outermost variable xd-1.

See Also

Polynomial_d
PolynomialTraits_d