DGtal
0.6.devel
|
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 222 of file MPolynomial.h.
|
inline |
Definition at line 229 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 240 of file MPolynomial.h.
References DGtal::MPolynomialEvaluatorImpl< n, TRing, TOwner, TAlloc, TX >::EvalFun< XX, Fun >::myEvalFun, DGtal::MPolynomialEvaluatorImpl< n, TRing, TOwner, TAlloc, TX >::myEvalPoint, DGtal::MPolynomialEvaluatorImpl< n, TRing, TOwner, TAlloc, TX >::EvalFun< XX, Fun >::myOwner, DGtal::MPolynomial< n, TRing, TAlloc >::myValue, and DGtal::IVector< T, TAlloc, usePointers >::size().
|
private |
Definition at line 225 of file MPolynomial.h.
Referenced by DGtal::MPolynomialEvaluatorImpl< n, TRing, TOwner, TAlloc, TX >::EvalFun< XX, Fun >::operator()().
|
private |
Definition at line 224 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()().