CGAL 4.7 - Polynomial: PolynomialTraits_d::Swap Concept Reference

\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)

CGAL 4.7 - Polynomial

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
List of all members
PolynomialTraits_d::Swap Concept 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\). More...

## Member Function Documentation

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