DGtal
1.5.beta
|
#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 355 of file MPolynomial.h.
typedef TAlloc DGtal::MPolynomialEvaluator< 1, TRing, TAlloc, TX >::Alloc |
Definition at line 360 of file MPolynomial.h.
typedef MPolynomial< 1, Ring, Alloc > DGtal::MPolynomialEvaluator< 1, TRing, TAlloc, TX >::MPoly1 |
Definition at line 362 of file MPolynomial.h.
typedef TRing DGtal::MPolynomialEvaluator< 1, TRing, TAlloc, TX >::Ring |
Definition at line 359 of file MPolynomial.h.
typedef TX DGtal::MPolynomialEvaluator< 1, TRing, TAlloc, TX >::X |
Definition at line 361 of file MPolynomial.h.
|
inlineprivate |
Definition at line 369 of file MPolynomial.h.
|
inline |
Casting to X is done by evaluation in myEvalPoint.
Definition at line 378 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 394 of file MPolynomial.h.
|
friend |
Definition at line 301 of file MPolynomial.h.
|
private |
The evaluation point.
Definition at line 366 of file MPolynomial.h.
|
private |
The polynomial in question.
Definition at line 365 of file MPolynomial.h.