DGtal 1.3.0
|
#include <DGtal/math/MPolynomial.h>
Public Types | |
typedef TRing | Ring |
typedef TAlloc | Alloc |
typedef TX | X |
typedef MPolynomial< 1, Ring, Alloc > | MPoly1 |
Public Member Functions | |
operator X () const | |
X | operator() () const |
Private Member Functions | |
MPolynomialEvaluator (const MPoly1 &poly, const X &evalpoint) | |
Private Attributes | |
const MPoly1 & | myPoly |
The polynomial in question. More... | |
const X & | myEvalPoint |
The evaluation point. More... | |
Friends | |
class | MPolynomial< 1, TRing, TAlloc > |
The top level polynomial evaluation class, in case n = 1, i.e. does direct evaluation.
This class is a backport from Spielwiese.
Definition at line 345 of file MPolynomial.h.
typedef TAlloc DGtal::MPolynomialEvaluator< 1, TRing, TAlloc, TX >::Alloc |
Definition at line 350 of file MPolynomial.h.
typedef MPolynomial< 1, Ring, Alloc > DGtal::MPolynomialEvaluator< 1, TRing, TAlloc, TX >::MPoly1 |
Definition at line 352 of file MPolynomial.h.
typedef TRing DGtal::MPolynomialEvaluator< 1, TRing, TAlloc, TX >::Ring |
Definition at line 349 of file MPolynomial.h.
typedef TX DGtal::MPolynomialEvaluator< 1, TRing, TAlloc, TX >::X |
Definition at line 351 of file MPolynomial.h.
|
inlineprivate |
Definition at line 359 of file MPolynomial.h.
|
inline |
Casting to X is done by evaluation in myEvalPoint.
Definition at line 368 of file MPolynomial.h.
References DGtal::MPolynomialEvaluator< n, TRing, TAlloc, TX >::myEvalPoint, DGtal::MPolynomialEvaluator< n, TRing, TAlloc, TX >::myPoly, DGtal::MPolynomial< n, TRing, TAlloc >::myValue, and DGtal::IVector< T, TAlloc, usePointers >::size().
|
inline |
Evaluates and returns value in X.
Definition at line 384 of file MPolynomial.h.
|
friend |
Definition at line 291 of file MPolynomial.h.
|
private |
The evaluation point.
Definition at line 356 of file MPolynomial.h.
|
private |
The polynomial in question.
Definition at line 355 of file MPolynomial.h.