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. | |
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. | |
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. |
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.
virtual ecl::BluePrintFactory< CubicSpline >::~BluePrintFactory | ( | ) | [inline, virtual] |
Definition at line 103 of file cubic_spline.hpp.
C2CubicSpline ecl::BluePrintFactory< CubicSpline >::ContinuousDerivatives | ( | const Array< double > & | x_set, |
const Array< double > & | y_set, | ||
const double | ydot_0, | ||
const double | ydot_f | ||
) | [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 183 of file cubic_spline_blueprints.cpp.
DerivativeHeuristicCubicSpline ecl::BluePrintFactory< CubicSpline >::DerivativeHeuristic | ( | const Array< double > & | x_set, |
const Array< double > & | y_set, | ||
const double | ydot_0, | ||
const double | ydot_f | ||
) | [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 188 of file cubic_spline_blueprints.cpp.
C2CubicSpline ecl::BluePrintFactory< CubicSpline >::Natural | ( | const Array< double > & | x_set, |
const Array< double > & | y_set | ||
) | [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 179 of file cubic_spline_blueprints.cpp.