Public Member Functions | List of all members
ecl::Maximum< LinearFunction > Class 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

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 996 of file polynomial.hpp.

Constructor & Destructor Documentation

◆ ~Maximum()

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

Definition at line 1011 of file polynomial.hpp.

Member Function Documentation

◆ operator()()

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 174 of file polynomial.cpp.


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


ecl_geometry
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:40