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

Blueprint factory for linear functions. More...

#include <polynomial.hpp>

List of all members.

Public Member Functions

virtual ~BluePrintFactory ()

Static Public Member Functions

static LinearInterpolation Interpolation (const double x_i, const double y_i, const double x_f, const double y_f)
 Blueprint for an interpolating a linear function connecting two points.
static LinearPointSlopeForm PointSlopeForm (const double x_f, const double y_f, const double slope)
 Blueprint for an generating a linear function from slope/point form.

Detailed Description

template<>
class ecl::BluePrintFactory< LinearFunction >

Blueprint factory for linear functions.

Generates various blueprints that instantiate or configure linear functions with commonly used configurations. This class is inherited by the LinearFunction class, consequently it is simpler to access these blueprints via the inheritance mechanisms than to use this class directly. For example,

 LinearFunction function = LinearFunction::Interpolation(0.0,0.0,1.0,2.0);
See also:
LinearFunction.

Definition at line 847 of file polynomial.hpp.


Constructor & Destructor Documentation

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

Definition at line 871 of file polynomial.hpp.


Member Function Documentation

LinearInterpolation ecl::BluePrintFactory< LinearFunction >::Interpolation ( const double  x_i,
const double  y_i,
const double  x_f,
const double  y_f 
) [static]

Blueprint for an interpolating a linear function connecting two points.

Parameters:
x_i: initial domain value.
y_i: initial polynomial value.
x_f: final domain value.
y_f: final polynomial value.
Returns:
LinearInterpolation : the resulting blueprint.
See also:
ecl::blueprints::LinearInterpolation

Definition at line 201 of file polynomial_blueprints.cpp.

LinearPointSlopeForm ecl::BluePrintFactory< LinearFunction >::PointSlopeForm ( const double  x_f,
const double  y_f,
const double  slope 
) [static]

Blueprint for an generating a linear function from slope/point form.

Parameters:
x_f: final domain value.
y_f: final polynomial value.
slope: slope of the linear function
Returns:
LinearPointSlopeForm : the resulting blueprint.

Definition at line 205 of file polynomial_blueprints.cpp.


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


ecl_geometry
Author(s): Daniel Stonier
autogenerated on Sun Oct 5 2014 23:36:08