Evaluation of real polynomials - the implementation. More...
#include "vnl_real_polynomial.h"#include <vcl_iostream.h>#include <vcl_complex.h>#include <vcl_cmath.h>Go to the source code of this file.
Functions | |
| template<class T > | |
| T | vnl_real_polynomial_evaluate (double const *a, int n, T const &x) |
| vnl_real_polynomial | operator+ (const vnl_real_polynomial &f1, const vnl_real_polynomial &f2) |
| Returns sum of two polynomials f1(x)+f2(x). | |
| vnl_real_polynomial | operator- (const vnl_real_polynomial &f1, const vnl_real_polynomial &f2) |
| Returns sum of two polynomials f1(x)-f2(x). | |
| 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). | |
| 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]. | |
Evaluation of real polynomials - the implementation.
Modifications IMS (Manchester) 14/03/2001: Added Manchester IO scheme
Definition in file vnl_real_polynomial.cxx.
| 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 145 of file vnl_real_polynomial.cxx.
| vnl_real_polynomial operator+ | ( | const vnl_real_polynomial & | f1, |
| const vnl_real_polynomial & | f2 | ||
| ) |
Returns sum of two polynomials f1(x)+f2(x).
Returns polynomial which is sum of two polynomials f1(x)+f2(x).
Definition at line 101 of file vnl_real_polynomial.cxx.
| vnl_real_polynomial operator- | ( | const vnl_real_polynomial & | f1, |
| const vnl_real_polynomial & | f2 | ||
| ) |
Returns sum of two polynomials f1(x)-f2(x).
Returns polynomial which is different of two polynomials f1(x)-f2(x).
Definition at line 123 of file vnl_real_polynomial.cxx.
| T vnl_real_polynomial_evaluate | ( | double const * | a, |
| int | n, | ||
| T const & | x | ||
| ) |
Definition at line 20 of file vnl_real_polynomial.cxx.
| 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 180 of file vnl_real_polynomial.cxx.
1.7.5.1