Blueprint factory for cubic splines. More...
#include <cubic_spline.hpp>
Public Member Functions | |
virtual | ~BluePrintFactory () |
Static Public Member Functions | |
static blueprints::C2CubicSpline | ContinuousDerivatives (const Array< double > &x_set, const Array< double > &y_set, const double ydot_0, const double ydot_f) |
Cubic spline blueprint satisfying y, y' and y'' continuity requirements. More... | |
static blueprints::DerivativeHeuristicCubicSpline | DerivativeHeuristic (const Array< double > &x_set, const Array< double > &y_set, const double ydot_0, const double ydot_f) |
Cubic spline blueprint derived from a y' heuristic. More... | |
static blueprints::C2CubicSpline | Natural (const Array< double > &x_set, const Array< double > &y_set) |
Cubic spline blueprint satisfying y, y' and y'' continuity with y''_0 = y''_f = 0. More... | |
Blueprint factory for cubic splines.
Generates various blueprints that instantiate or configure cubic splines from commonly used algorithms.
Definition at line 59 of file cubic_spline.hpp.
|
inlinevirtual |
Definition at line 103 of file cubic_spline.hpp.
|
static |
Cubic spline blueprint satisfying y, y' and y'' continuity requirements.
Generates a blueprint for creating cubic splines on a set of data satisfying the constraints of continuity for y, y' and y''.
x_set | : set of data on the domain axis. |
y_set | : set of values on the range axis. |
ydot_0 | : initial derivative value (boundary constraint). |
ydot_f | : final derivative value (boundary constraint). |
Definition at line 191 of file cubic_spline_blueprints.cpp.
|
static |
Cubic spline blueprint derived from a y' heuristic.
Generates a blueprint for creating cubic splines on a set of data satisfying a heuristic that automatically generates derivatives at the via points.
x_set | : set of data on the domain axis. |
y_set | : set of values on the range axis. |
ydot_0 | : initial derivative value (boundary constraint). |
ydot_f | : final derivative value (boundary constraint). |
Definition at line 196 of file cubic_spline_blueprints.cpp.
|
static |
Cubic spline blueprint satisfying y, y' and y'' continuity with y''_0 = y''_f = 0.
This is a special case of the ContinuousDerivatives blueprint that uses y''_0 = y''_f = 0 boundary conditions instead. It is more commonly referred to as the natural cubic spline.
x_set | : set of data on the domain axis. |
y_set | : set of values on the range axis. |
Definition at line 187 of file cubic_spline_blueprints.cpp.