\( \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 5.0.3 - Polynomial
PolynomialTraits_d::MonomialRepresentation Concept Reference

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

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