This AdaptableFunctor permutes the variables of the given polynomial with respect to a permutation , that is, each monomial will be mapped to the monomial . The permutation is given by the iterator range of length PolynomialTraits_d::d, which is supposed to contain the second row of the permutation.
For instance, let be a polynomial in 4 variables and it is intended to change the order of the variables such that , , and . In this case the iterator range should contain the sequence .
AdaptableFunctor
| ||
|
| ||||||||
|
| |||||||
Returns with interchanged variables as defined by the iterator range.
|
Polynomial_d
PolynomialTraits_d