CFL
Public Member Functions | List of all members
cfl::IFunction Class Referenceabstract

Interface for a one-dimensional function. More...

#include <cfl/Function.hpp>

Public Member Functions

virtual ~IFunction ()
 
virtual bool belongs (double dX) const =0
 
virtual double operator() (double dX) const =0
 

Detailed Description

The abstract class for a one-dimensional function. Its implementation on a free store is used to construct the concrete class Function.

See also
Function, MultiFunction, IMultiFunction

Constructor & Destructor Documentation

virtual cfl::IFunction::~IFunction ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

virtual bool cfl::IFunction::belongs ( double  dX) const
pure virtual

Tests whether an argument belongs to the domain of the function.

Parameters
dXThe argument.
Returns
The function returns true if the argument dX belongs to the domain of the function. Returns false otherwise.
virtual double cfl::IFunction::operator() ( double  dX) const
pure virtual

Standard functional operator.

Parameters
dXThe argument.
Returns
The value of the function at dX.

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