Mathematical maximum on a compact interval for linear functions. More...
#include <polynomial.hpp>
Public Member Functions | |
ECL_PUBLIC double | operator() (const double &x_begin, const double &x_end, const LinearFunction &function) |
Returns the maximum of a linear function. | |
virtual | ~Maximum () |
Mathematical maximum on a compact interval for linear functions.
Mathematical maximum on a compact interval for linear functions (first order polynomials).
Definition at line 979 of file polynomial.hpp.
virtual ecl::Maximum< LinearFunction >::~Maximum | ( | ) | [inline, virtual] |
Definition at line 992 of file polynomial.hpp.
double ecl::Maximum< LinearFunction >::operator() | ( | const double & | x_begin, |
const double & | x_end, | ||
const LinearFunction & | function | ||
) |
Returns the maximum of a linear function.
Returns the maximum of the specified linear function on the given compact interval.
x_begin | : beginning of the compact interval. |
x_end | : end of the compact interval. |
function | : the linear function. |
Definition at line 170 of file polynomial.cpp.