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. More... | |
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 990 of file polynomial.hpp.
|
inlinevirtual |
Definition at line 1003 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.