PolynomialTraits_d::Substitute

Definition

This Functor substitutes all variables of a given multivariate PolynomialTraits_d::Polynomial_d by the values given in the iterator range, where begin refers the the value for the innermost variable.

Refines

Assignable
CopyConstructible
DefaultConstructible

Types

Note that the result_type is the coercion type of the value type of the given iterator range and PolynomialTraits_d::Innermost_coefficient_type. In particular std::iterator_traits<Input_iterator>::value_type must be ExplicitInteroperable with PolynomialTraits_d::Innermost_coefficient_type. Hence, it can not be provided as a public type in advance.

Operations

template<class Input_iterator>
result_type fo ( PolynomialTraits_d::Polynomial_d p , Input_iterator begin , Input_iterator end )
Substitutes each variable of p by the values given in the iterator range, where begin refers to the innermost variable x0.
Precondition: (end-begin == PolynomialTraits_d::d)

See Also

Polynomial_d
PolynomialTraits_d
PolynomialTraits_d::SubstituteHomogeneous
CoercionTraits