Specialises the function math loader for linear functions. More...
#include <polynomial.hpp>
Public Member Functions | |
FunctionMath () | |
virtual | ~FunctionMath () |
Default constructor. | |
Static Public Member Functions | |
static CartesianPoint2d | Intersection (const LinearFunction &f, const LinearFunction &g) ecl_throw_decl(StandardException) |
Redirections intersection operator for linear functions. | |
static double | Maximum (const double &x_begin, const double &x_end, const LinearFunction &function) |
Redirections the maximum operator for linear functions. | |
static double | Minimum (const double &x_begin, const double &x_end, const LinearFunction &function) |
Redirections the minimum operator for linear functions. | |
static Array< double > | Roots (const LinearFunction &function) |
Root of the linear function. |
Specialises the function math loader for linear functions.
This lets you use the functions directly from within the class, e.g.
LinearFunction f = LinearFunction::Interpolation(0.0,0.0,1.0,2.0); LinearFunction g = LinearFunction::Interpolation(0.0,2.0,1.0,0.0); CartsianPoint2d point = LinearFunction::Intersection(f,g);
Definition at line 1221 of file polynomial.hpp.
ecl::FunctionMath< LinearFunction >::FunctionMath | ( | ) | [inline] |
Definition at line 1223 of file polynomial.hpp.
virtual ecl::FunctionMath< LinearFunction >::~FunctionMath | ( | ) | [inline, virtual] |
Default constructor.
Definition at line 1224 of file polynomial.hpp.
static CartesianPoint2d ecl::FunctionMath< LinearFunction >::Intersection | ( | const LinearFunction & | f, |
const LinearFunction & | g | ||
) | [inline, static] |
Redirections intersection operator for linear functions.
Definition at line 1230 of file polynomial.hpp.
static double ecl::FunctionMath< LinearFunction >::Maximum | ( | const double & | x_begin, |
const double & | x_end, | ||
const LinearFunction & | function | ||
) | [inline, static] |
Redirections the maximum operator for linear functions.
Definition at line 1261 of file polynomial.hpp.
static double ecl::FunctionMath< LinearFunction >::Minimum | ( | const double & | x_begin, |
const double & | x_end, | ||
const LinearFunction & | function | ||
) | [inline, static] |
Redirections the minimum operator for linear functions.
Definition at line 1253 of file polynomial.hpp.
static Array<double> ecl::FunctionMath< LinearFunction >::Roots | ( | const LinearFunction & | function | ) | [inline, static] |
Root of the linear function.
Definition at line 1245 of file polynomial.hpp.