CGAL 5.1 - Polynomial
|
#include <Concepts/PolynomialTraits_d--Translate.h>
This AdaptableBinaryFunction
translates a PolynomialTraits_d::Polynomial_d
with respect to one variable, that is, for a given polynomial \( p\) and constant \( c\) it computes \( p(x+c)\).
Note that this functor operates on the polynomial in the univariate view, that is, the polynomial is considered as a univariate polynomial in one specific variable.
AdaptableBinaryFunction
CopyConstructible
DefaultConstructible
Polynomial_d
PolynomialTraits_d
Types | |
typedef PolynomialTraits_d::Polynomial_d | result_type |
typedef PolynomialTraits_d::Polynomial_d | first_argument_type |
typedef PolynomialTraits_d::Innermost_coefficient_type | second_argument_type |
Operations | |
result_type | operator() (first_argument_type p, second_argument_type c) |
Returns \( p(x+c)\), with respect to the outermost variable. More... | |
result_type | operator() (first_argument_type p, second_argument_type c, int i) |
Same as first operator but for variable \( x_i\). More... | |
typedef PolynomialTraits_d::Polynomial_d PolynomialTraits_d::Translate::first_argument_type |
typedef PolynomialTraits_d::Polynomial_d PolynomialTraits_d::Translate::result_type |
typedef PolynomialTraits_d::Innermost_coefficient_type PolynomialTraits_d::Translate::second_argument_type |
result_type PolynomialTraits_d::Translate::operator() | ( | first_argument_type | p, |
second_argument_type | c | ||
) |
Returns \( p(x+c)\), with respect to the outermost variable.
result_type PolynomialTraits_d::Translate::operator() | ( | first_argument_type | p, |
second_argument_type | c, | ||
int | i | ||
) |
Same as first operator but for variable \( x_i\).