Blueprint factory for tension splines. More...
#include <tension_spline.hpp>
Public Member Functions | |
virtual | ~BluePrintFactory () |
Static Public Member Functions | |
static blueprints::C2TensionSpline | Natural (const Array< double > &x_set, const Array< double > &y_set, const double &tau) ecl_assert_throw_decl(StandardException) |
Tension spline blueprint satisfying y, y' and y'' continuity with y''_0 = y''_f = 0. |
Blueprint factory for tension splines.
Generates various blueprints that instantiate or configure tension splines from commonly used algorithms.
Definition at line 59 of file tension_spline.hpp.
virtual ecl::BluePrintFactory< TensionSpline >::~BluePrintFactory | ( | ) | [inline, virtual] |
Definition at line 77 of file tension_spline.hpp.
C2TensionSpline ecl::BluePrintFactory< TensionSpline >::Natural | ( | const Array< double > & | x_set, |
const Array< double > & | y_set, | ||
const double & | tau | ||
) | [static] |
Tension spline blueprint satisfying y, y' and y'' continuity with y''_0 = y''_f = 0.
This is the natural form of the spline interpolation.
x_set | : set of data on the domain axis. |
y_set | : set of values on the range axis. |
tau | : the tension parameter. |
: | StandardException : throws if configuration arguments are not valid [debug mode only]. |
Definition at line 125 of file tension_spline_blueprints.cpp.