Public Member Functions | Static Public Member Functions
ecl::BluePrintFactory< CubicSpline > Class Template Reference

Blueprint factory for cubic splines. More...

#include <cubic_spline.hpp>

Inheritance diagram for ecl::BluePrintFactory< CubicSpline >:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

template<>
class ecl::BluePrintFactory< CubicSpline >

Blueprint factory for cubic splines.

Generates various blueprints that instantiate or configure cubic splines from commonly used algorithms.

See also:
CubicSpline.

Definition at line 59 of file cubic_spline.hpp.


Constructor & Destructor Documentation

virtual ecl::BluePrintFactory< CubicSpline >::~BluePrintFactory ( ) [inline, virtual]

Definition at line 103 of file cubic_spline.hpp.


Member Function Documentation

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''.

Parameters:
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).
Returns:
C2CubicSpline : the resulting blueprint.

Definition at line 191 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.

Parameters:
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).
Returns:
DerivativeHeuristicCubicSpline : the resulting blueprint.

Definition at line 196 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.

Parameters:
x_set: set of data on the domain axis.
y_set: set of values on the range axis.
Returns:
C2CubicSpline : the resulting blueprint.

Definition at line 187 of file cubic_spline_blueprints.cpp.


The documentation for this class was generated from the following files:


ecl_geometry
Author(s): Daniel Stonier
autogenerated on Mon Jul 3 2017 02:21:52