|
Relacs Numerics Library
0.9.8
|
#include <basisfunction.h>


Public Member Functions | |
| Polynom (void) | |
| virtual | ~Polynom (void) |
| void | operator() (double x, ArrayD &y) const |
| virtual void | basis (double x, ArrayD &y) const |
| double | operator() (const ArrayD &c, double x) const |
| virtual double | value (const ArrayD &c, double x) const |
Public Member Functions inherited from BasisFunction | |
| BasisFunction (void) | |
| virtual | ~BasisFunction (void) |
| void | operator() (double x, ArrayD &y) const |
| double | operator() (const ArrayD &c, double x) const |
A polynomial basis function.
| Polynom | ( | void | ) |
|
virtual |
| void operator() | ( | double | x, |
| ArrayD & | y | ||
| ) | const |
Returns the values of the first y.size() basis functions at position x in y. This operator is NOT virtual in order to speed up computation when using templates. If you need a virtual function as an interface, implement basis().
References Array< T >::size().
Referenced by Polynom::basis(), and Polynom::value().
|
virtual |
Returns the values of the first y.size() basis functions at position x in y. This function IS virtual and might slow things down. If you need a NON virtual function as an interface, implement operator().
Reimplemented from BasisFunction.
References Polynom::operator()().
| double operator() | ( | const ArrayD & | c, |
| double | x | ||
| ) | const |
Returns the linear combination of the first c.size() basis functions at position x with coefficients c. This operator is NOT virtual in order to speed up computation when using templates. If you need a virtual function as an interface, implement value().
References Array< T >::size().
|
virtual |
Returns the linear combination of the first c.size() basis functions at position x with coefficients c. This function IS virtual and might slow things down. If you need a NON virtual function as an interface, implement operator().
Reimplemented from BasisFunction.
References Polynom::operator()().
1.8.6