DGtal
1.5.beta
|
Public Member Functions | |
EvalFun (const MPolynomialEvaluatorImpl< n, Ring, Owner, Alloc, X > &owner, const Fun &evalfun) | |
XX | operator() (const MPolynomial< n, Ring, Alloc > &p) const |
Private Attributes | |
const MPolynomialEvaluatorImpl< n, Ring, Owner, Alloc, X > & | myOwner |
const Fun & | myEvalFun |
Evaluates a polynomial of type MPolynomial<n, TRing> in myEvalPoint; the coefficients of the first indeterminate are evaluated using the given functor of type Fun.
Definition at line 232 of file MPolynomial.h.
|
inline |
Definition at line 239 of file MPolynomial.h.
|
inline |
Evaluate: the first indeterminate is replaced by myEvalPoint, and the coefficients of the first indeterminate (which are polynomials of type poly<n-1, T>) are evaluated using myEvalFun.
Definition at line 250 of file MPolynomial.h.
References DGtal::MPolynomialEvaluatorImpl< n, TRing, TOwner, TAlloc, TX >::EvalFun< XX, Fun >::myEvalFun, DGtal::MPolynomialEvaluatorImpl< n, TRing, TOwner, TAlloc, TX >::myEvalPoint, and DGtal::MPolynomialEvaluatorImpl< n, TRing, TOwner, TAlloc, TX >::EvalFun< XX, Fun >::myOwner.
|
private |
Definition at line 235 of file MPolynomial.h.
Referenced by DGtal::MPolynomialEvaluatorImpl< n, TRing, TOwner, TAlloc, TX >::EvalFun< XX, Fun >::operator()().
|
private |
Definition at line 234 of file MPolynomial.h.
Referenced by DGtal::MPolynomialEvaluatorImpl< 1, TRing, TOwner, TAlloc, TX >::EvalFun::operator()(), and DGtal::MPolynomialEvaluatorImpl< n, TRing, TOwner, TAlloc, TX >::EvalFun< XX, Fun >::operator()().