Class which implements Lagrange interpolation of a vector.
More...
#include <Interpolate.hh>
|
| Interpolate (const double alpha, const size_t order) |
| Constructor. More...
|
|
double | getAlpha () const |
| Get alpha parameter.
|
|
size_t | getOrder () const |
| Get order parameter.
|
|
void | apply (std::valarray< T > &x) |
| Apply the interpolation. More...
|
|
| Interpolate (const double alpha, const size_t order) |
| Constructor. More...
|
|
double | getAlpha () const |
| Get alpha parameter.
|
|
size_t | getOrder () const |
| Get order parameter.
|
|
void | apply (std::valarray< T > &x) |
| Apply the interpolation. More...
|
|
| Interpolate (const double alpha, const size_t order) |
| Constructor. More...
|
|
double | getAlpha () const |
| Get alpha parameter.
|
|
size_t | getOrder () const |
| Get order parameter.
|
|
void | apply (std::valarray< T > &x) |
| Apply the interpolation. More...
|
|
template<class T>
class Filters::Interpolate< T >
Class which implements Lagrange interpolation of a vector.
◆ Interpolate() [1/3]
Constructor.
- Parameters
-
[in] | alpha | interpolation parameter, 0 < alpha < 1 |
[in] | order | order of Lagrange polynomial used for interpolation |
- Exceptions
-
invalid_argument | Thrown if alpha <= 0 or alpha >= 1 |
◆ Interpolate() [2/3]
Constructor.
- Parameters
-
[in] | alpha | interpolation parameter, 0 < alpha < 1 |
[in] | order | order of Lagrange polynomial used for interpolation |
- Exceptions
-
invalid_argument | Thrown if alpha <= 0 or alpha >= 1 |
◆ Interpolate() [3/3]
Constructor.
- Parameters
-
[in] | alpha | interpolation parameter, 0 < alpha < 1 |
[in] | order | order of Lagrange polynomial used for interpolation |
- Exceptions
-
invalid_argument | Thrown if alpha <= 0 or alpha >= 1 |
◆ apply() [1/3]
Apply the interpolation.
The data contained in x is interpolated and the result returned in x.
- Parameters
-
[in] | x | the data to be interpolated |
- Exceptions
-
invalid_argument | Thrown if x.size() == 0 |
◆ apply() [2/3]
Apply the interpolation.
The data contained in x is interpolated and the result returned in x.
- Parameters
-
[in] | x | the data to be interpolated |
- Exceptions
-
invalid_argument | Thrown if x.size() == 0 |
◆ apply() [3/3]
Apply the interpolation.
The data contained in x is interpolated and the result returned in x.
- Parameters
-
[in] | x | the data to be interpolated |
- Exceptions
-
invalid_argument | Thrown if x.size() == 0 |
The documentation for this class was generated from the following files:
- /build/ldas-tools-filters-2.6.6/debian/tmp/usr/include/filters/Interpolate.hh
- /build/ldas-tools-filters-2.6.6/src/Interpolate.cc