Class which implements Lagrange interpolation of a vector.
More...
#include <Interpolate.hh>
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 |
◆ getAlpha() [1/3]
◆ getAlpha() [2/3]
◆ getAlpha() [3/3]
◆ getOrder() [1/3]
◆ getOrder() [2/3]
◆ getOrder() [3/3]
◆ m_alpha
◆ m_filt
the filter used for interpolation.
The documentation for this class was generated from the following files: