Class which performs 3rd order spline interpolation.
More...
#include <interpolators.h>
Class which performs 3rd order spline interpolation.
Definition at line 26 of file interpolators.h.
◆ Spline()
Interpolator::Spline::Spline |
( |
const Eigen::MatrixXd & | data | ) |
|
|
explicit |
Constructor for the Spline class.
- Parameters
-
data | A 2 column matrix containing the x and y values to be interpolated. |
◆ operator()()
Performs 3rd order spline interpolation.
- Parameters
-
x | The x value to be interpolated. |
- Returns
- The interpolated y value.
Implements Interpolator::Interpolator.
◆ spline_
Eigen::Spline<double, 1> Interpolator::Spline::spline_ |
|
private |
◆ x_max_
double Interpolator::Spline::x_max_ = 0.0 |
|
private |
◆ x_min_
double Interpolator::Spline::x_min_ = 0.0 |
|
private |
◆ x_vec_
Eigen::VectorXd Interpolator::Spline::x_vec_ |
|
private |
◆ y_vec_
Eigen::VectorXd Interpolator::Spline::y_vec_ |
|
private |
The documentation for this class was generated from the following file: