[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
#include <vigra/polynomial.hxx>
Additional Inherited Members | |
![]() | |
typedef NumericTraits< RealPromote >::ComplexPromote | Complex |
typedef T const * | const_iterator |
typedef T * | iterator |
typedef NumericTraits< RealPromote >::ValueType | Real |
typedef NumericTraits< T >::RealPromote | RealPromote |
typedef T | value_type |
Polynomial with internally managed array.
Most interesting functionality is inherited from vigra::PolynomialView.
#include <vigra/polynomial.hxx>
Namespace: vigra
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 | ( | Polynomial< T > const & | p | ) |
Copy constructor
Construct polynomial by copying the given coefficient sequence.
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.
Polynomial & operator= | ( | Polynomial< T > const & | p | ) |
Assigment
Polynomial< T > getDerivative | ( | unsigned int | n = 1 | ) | const |
Construct new polynomial representing the derivative of this polynomial.
Polynomial< T > getDeflated | ( | Real | r | ) | const |
Construct new polynomial representing this polynomial after deflation at the real root r
.
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.
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |