Public Member Functions | List of all members
ecl::Maximum< LinearFunction > Class Template Reference

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 ()
 

Detailed Description

template<>
class ecl::Maximum< LinearFunction >

Mathematical maximum on a compact interval for linear functions.

Mathematical maximum on a compact interval for linear functions (first order polynomials).

See also
Maximum, LinearFunction, Math::Polynomials.

Definition at line 990 of file polynomial.hpp.

Constructor & Destructor Documentation

virtual ecl::Maximum< LinearFunction >::~Maximum ( )
inlinevirtual

Definition at line 1003 of file polynomial.hpp.

Member Function Documentation

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.

Parameters
x_begin: beginning of the compact interval.
x_end: end of the compact interval.
function: the linear function.
Returns
double : the maximum.

Definition at line 170 of file polynomial.cpp.


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


ecl_geometry
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:38