Evaluation of real polynomials. More...
#include <complex>#include <iosfwd>#include <vnl/vnl_vector.h>#include <cassert>#include "vnl/vnl_export.h"Go to the source code of this file.
Classes | |
| class | vnl_real_polynomial |
| Evaluation of real polynomials at real and complex points. More... | |
Functions | |
| VNL_EXPORT vnl_real_polynomial | operator+ (const vnl_real_polynomial &f1, const vnl_real_polynomial &f2) |
| Returns polynomial which is sum of two polynomials f1(x)+f2(x). More... | |
| VNL_EXPORT vnl_real_polynomial | operator- (const vnl_real_polynomial &f1, const vnl_real_polynomial &f2) |
| Returns polynomial which is different of two polynomials f1(x)-f2(x). More... | |
| VNL_EXPORT vnl_real_polynomial | operator * (const vnl_real_polynomial &f1, const vnl_real_polynomial &f2) |
| Returns polynomial which is product of two polynomials f1(x)*f2(x). More... | |
| VNL_EXPORT double | vnl_rms_difference (const vnl_real_polynomial &f1, const vnl_real_polynomial &f2, double x1, double x2) |
| Returns RMS difference between f1 and f2 over range [x1,x2]. More... | |
Evaluation of real polynomials.
Modifications 23 may 97, Peter Vanroose - "NO_COMPLEX" option added (until "complex" type is standardised) 27/03/2001 Ian Scott and Tim Cootes - Added Binary IO 27/03/2001 Ian Scott - Comments tidied up 25/11/2001 Peter Vanroose - added operator==(), derivative(), primitive(), print() 12/22/2004 Kongbin Kang - add structured comment for operator==()
Definition in file vnl_real_polynomial.h.
| VNL_EXPORT vnl_real_polynomial operator * | ( | const vnl_real_polynomial & | f1, |
| const vnl_real_polynomial & | f2 | ||
| ) |
Returns polynomial which is product of two polynomials f1(x)*f2(x).
Definition at line 141 of file vnl_real_polynomial.cxx.
| VNL_EXPORT vnl_real_polynomial operator+ | ( | const vnl_real_polynomial & | f1, |
| const vnl_real_polynomial & | f2 | ||
| ) |
Returns polynomial which is sum of two polynomials f1(x)+f2(x).
Returns polynomial which is sum of two polynomials f1(x)+f2(x).
Definition at line 97 of file vnl_real_polynomial.cxx.
| VNL_EXPORT vnl_real_polynomial operator- | ( | const vnl_real_polynomial & | f1, |
| const vnl_real_polynomial & | f2 | ||
| ) |
Returns polynomial which is different of two polynomials f1(x)-f2(x).
Returns polynomial which is different of two polynomials f1(x)-f2(x).
Definition at line 119 of file vnl_real_polynomial.cxx.
| VNL_EXPORT double vnl_rms_difference | ( | const vnl_real_polynomial & | f1, |
| const vnl_real_polynomial & | f2, | ||
| double | x1, | ||
| double | x2 | ||
| ) |
Returns RMS difference between f1 and f2 over range [x1,x2].
Definition at line 176 of file vnl_real_polynomial.cxx.
1.8.15