Functions | |
template<class T, class U> | |
U | eval (const Polynomial< T > &p, const U &x) |
template<class T, class U, class V> | |
U | eval (const Polynomial< T > &p, const U &x, V &e) |
template<class T, class U> | |
U | evalAndDeflate (const Polynomial< T > &p, const U &a, Polynomial< U > &q) |
template<class T, class U, class V> | |
U | evalAndDeflate (const Polynomial< T > &p, const U &a, Polynomial< U > &q, V &e) |
template<class T, class U> | |
U | evalError (const Polynomial< T > &p, const U &mx) |
template<class T, class U> | |
U | evalAndDerive (const Polynomial< T > &p, const U &x, U &ppx) |
template<class T, class U> | |
U | evalAndDerive (const Polynomial< T > &p, const U &x, U &ppx, U &pppx) |
template<class T, class U> | |
U | evalDeriveAndDeflate (const Polynomial< T > &p, const U &x, U &ppx, U &pppx, Polynomial< U > &q) |
|
evaluates polynomial value . Evaluates by Horner's recurence. This is the preferred way of evaluating polynomials, since the member function Polynomial<T>::eval() is resricted to same-type polynomial coeficients and variable x No error checking is performed, so any validation for overflow, or underflow is the responsibility of the caller.
Definition at line 896 of file Polynomial.h. |
|
evaluates polynomial value . Evaluates by Horner's recurence. This is the preferred way of evaluating polynomials, since the member function Polynomial<T>::eval() is resricted to same-type polynomial coeficients and variable x No error checking is performed, so any validation for overflow, or underflow is the responsibility of the caller.
Definition at line 860 of file Polynomial.h. |
|
evaluates polynomial value p(a), and computes . Evaluates and polynomial at the same time by Horner's recurence. It can be shown that , which essentially means that is the remainder of . For the special case where is a root of (i.e. ), this operation is called deflation. That is, on exit will have all the roots of , except for the root . No error checking is performed, so any validation for overflow, or underflow is the responsibility of the caller.
Definition at line 1011 of file Polynomial.h. |
|
evaluates polynomial value p(a), and computes . Evaluates and polynomial at the same time by Horner's recurence. It can be shown that , which essentially means that is the remainder of . For the special case where is a root of (i.e. ), this operation is called deflation. That is, on exit will have all the roots of , except for the root . No error checking is performed, so any validation for overflow, or underflow is the responsibility of the caller.
Definition at line 954 of file Polynomial.h. |
|
evaluates , first derivate , and second derivative at the same time. Evaluates efficiently , first derivate , and second derivative at the same time.
Definition at line 1141 of file Polynomial.h. |
|
evaluates and first derivate at the same time. Evaluates efficiently and first derivative at the same time.
Definition at line 1095 of file Polynomial.h. |
|
evaluates first derivate , second derivative , and deflates a polynomial at the same time. Evaluates efficiently , first derivate , and second derivative , while deflating the polynomial p.
Definition at line 1197 of file Polynomial.h. |
|
evaluates round-off error. Evaluates round_off error in computing .
Definition at line 1063 of file Polynomial.h. |