CGAL 4.5 - Polynomial
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
PolynomialTraits_d::Shift Concept Reference

Definition

This AdaptableBinaryFunction multiplies a PolynomialTraits_d::Polynomial_d by the given power of the specified variable.

This functor is provided for efficiency reasons, since multiplication by some variable will in general correspond to a shift of coefficients in the internal representation.

Refines:

AdaptableBinaryFunction

CopyConstructible

DefaultConstructible

See Also
Polynomial_d
PolynomialTraits_d

Types

typedef
PolynomialTraits_d::Polynomial_d 
result_type
 
typedef
PolynomialTraits_d::Polynomial_d 
first_argument_type
 
typedef int second_argument_type
 

Operations

result_type operator() (first_argument_type p, second_argument_type e)
 Returns pxed1. More...
 
result_type operator() (first_argument_type p, second_argument_type e, int i)
 Returns pxei. More...
 

Member Function Documentation

result_type PolynomialTraits_d::Shift::operator() ( first_argument_type  p,
second_argument_type  e 
)

Returns pxed1.

Precondition
0e.
result_type PolynomialTraits_d::Shift::operator() ( first_argument_type  p,
second_argument_type  e,
int  i 
)

Returns pxei.

Precondition
0e.
0i<d.