CGAL 5.6.1 - Polynomial
PolynomialTraits_d::Swap Concept Reference

Definition

This AdaptableFunctor swaps two variables of a multivariate polynomial.

Refines
AdaptableFunctor
CopyConstructible
DefaultConstructible
See also
Polynomial_d
PolynomialTraits_d

Types

typedef PolynomialTraits_d::Polynomial_d result_type
 

Operations

result_type operator() (PolynomialTraits_d::Polynomial_d p, int i, int j)
 Returns polynomial \( p\) with interchanged variables \( x_i\), \( x_j\). More...
 

Member Function Documentation

◆ operator()()

result_type PolynomialTraits_d::Swap::operator() ( PolynomialTraits_d::Polynomial_d  p,
int  i,
int  j 
)

Returns polynomial \( p\) with interchanged variables \( x_i\), \( x_j\).

Precondition
\( 0 \leq i < d\).
\( 0 \leq j < d\).