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

Mathematical minimum 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 minimum of a linear function. More...
 
virtual ~Minimum ()
 

Detailed Description

template<>
class ecl::Minimum< LinearFunction >

Mathematical minimum on a compact interval for linear functions.

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

See also
Minimum, LinearFunction, Math::Polynomials.

Definition at line 1039 of file polynomial.hpp.

Constructor & Destructor Documentation

◆ ~Minimum()

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

Definition at line 1052 of file polynomial.hpp.

Member Function Documentation

◆ operator()()

double ecl::Minimum< LinearFunction >::operator() ( const double &  x_begin,
const double &  x_end,
const LinearFunction function 
)

Returns the minimum of a linear function.

Returns the minimum 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 minimum.

Definition at line 222 of file polynomial.cpp.


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


ecl_geometry
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:18:49