CGAL 6.0.2 - Polynomial

Loading...
Searching...
No Matches
List of all members
PolynomialTraits_d::Swap Concept Reference
Polynomial Reference » Concepts

## 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\).

## 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\).