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