[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]

details Polynomial< T > Class Template Reference VIGRA

#include <vigra/polynomial.hxx>

Public Member Functions

Polynomial< Complex > getDeflated (Complex const &r) const
 
Polynomial< T > getDeflated (Real r) const
 
Polynomial< T > getDerivative (unsigned int n=1) const
 
Polynomialoperator= (Polynomial const &p)
 
template<class ITER >
 Polynomial (ITER i, unsigned int order)
 
template<class ITER >
 Polynomial (ITER i, unsigned int order, double epsilon)
 
 Polynomial (Polynomial const &p)
 
 Polynomial (unsigned int order=0, double epsilon=1.0e-14)
 

Detailed Description

template<class T>
class vigra::Polynomial< T >

Polynomial with internally managed array.

Most interesting functionality is inherited from vigra::PolynomialView.

See also
vigra::PolynomialView, vigra::StaticPolynomial, polynomialRoots()

#include <vigra/polynomial.hxx>
Namespace: vigra

Constructor & Destructor Documentation

◆ Polynomial() [1/4]

Polynomial ( unsigned int  order = 0,
double  epsilon = 1.0e-14 
)

Construct polynomial with given order and all coefficients set to zero (they can be set later using operator[] or the iterators). epsilon (default: 1.0e-14) determines the precision of subsequent algorithms (especially root finding) performed on the polynomial.

◆ Polynomial() [2/4]

Polynomial ( Polynomial< T > const &  p)

Copy constructor

◆ Polynomial() [3/4]

Polynomial ( ITER  i,
unsigned int  order 
)

Construct polynomial by copying the given coefficient sequence.

◆ Polynomial() [4/4]

Polynomial ( ITER  i,
unsigned int  order,
double  epsilon 
)

Construct polynomial by copying the given coefficient sequence. Set epsilon (default: 1.0e-14) as the precision of subsequent algorithms (especially root finding) performed on the polynomial.

Member Function Documentation

◆ operator=()

Polynomial& operator= ( Polynomial< T > const &  p)

Assigment

◆ getDerivative()

Polynomial<T> getDerivative ( unsigned int  n = 1) const

Construct new polynomial representing the derivative of this polynomial.

◆ getDeflated() [1/2]

Polynomial<T> getDeflated ( Real  r) const

Construct new polynomial representing this polynomial after deflation at the real root r.

◆ getDeflated() [2/2]

Polynomial<Complex> getDeflated ( Complex const &  r) const

Construct new polynomial representing this polynomial after deflation at the complex root r. The resulting polynomial will have complex coefficients, even if this polynomial had real ones.


The documentation for this class was generated from the following file:

© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de)
Heidelberg Collaboratory for Image Processing, University of Heidelberg, Germany

html generated using doxygen and Python
vigra 1.11.1