CGAL 6.1.1 - Polynomial

Loading...
Searching...
No Matches
List of all members
PolynomialTraits_d::MonomialRepresentation Concept Reference
Reference Manual » Concepts

## Definition

This `Functor` outputs the monomial representation of the given polynomial, that is, it writes all non zero terms of the polynomial as `std::pair<CGAL::Exponent_vector, PolynomialTraits_d::Innermost_coefficient_type>` into the given output iterator.

Refines
  `Assignable`
  `CopyConstructible`
  `DefaultConstructible`

See also
  `Polynomial_d`
  `PolynomialTraits_d`
  `PolynomialTraits_d::ConstructPolynomial`

## Operations
template<class OutputIterator >
OutputIterator | operator() (PolynomialTraits_d::Polynomial_d p, OutputIterator it)
| Writes the monom representation of \( p\) into the given output iterator \( it\).

## Member Function Documentation

## ◆ operator()()

template<class OutputIterator >

OutputIterator PolynomialTraits_d::MonomialRepresentation::operator() | ( | PolynomialTraits_d::Polynomial_d | p,
|  | OutputIterator | it
| ) |  |

Writes the monom representation of \( p\) into the given output iterator \( it\).

Precondition
  `std::iterator_traits< OutputIterator >::value_type` must be constructible from `std::pair<CGAL::Exponent_vector, PolynomialTraits_d::Innermost_coefficient_type>`.