PolynomialTraits_d::ScaleHomogeneous

Definition

Given a numerator a and a denominator b this AdaptableFunctor scales a PolynomialTraits_d::Polynomial_d p with respect to one variable, that is, it computes bdegree(p) p(a/b x).

Note that this functor operates on the polynomial in the univariate view, that is, the polynomial is considered as a univariate homogeneous polynomial in one specific variable.

Refines

AdaptableFunctor

Types

typedef PolynomialTraits_d::Polynomial_d
result_type;

Operations

result_type
fo ( PolynomialTraits_d::Polynomial_d p ,
PolynomialTraits_d::Innermost_coefficient_type a ,
PolynomialTraits_d::Innermost_coefficient_type b )
Returns bdegree p(a/b x), with respect to the outermost variable.

result_type
fo ( PolynomialTraits_d::Polynomial_d p ,
PolynomialTraits_d::Innermost_coefficient_type a ,
PolynomialTraits_d::Innermost_coefficient_type b ,
int i )
Same as first operator but for variable xi.
Precondition: 0 i < d

See Also

Polynomial_d
PolynomialTraits_d