Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Euclid::MathUtils::NumericalIntegrationScheme Interface Referenceabstract

Interface class representing a numerical integration scheme. More...

#include <function_tools.h>

Inheritance diagram for Euclid::MathUtils::NumericalIntegrationScheme:
Inheritance graph
[legend]

Public Member Functions

virtual ~NumericalIntegrationScheme ()=default
 Default destructor.
 
virtual double operator() (const Function &function, double min, double max)=0
 

Detailed Description

Interface class representing a numerical integration scheme.

A NumericalIntegrationScheme is an object which can return the definite integral of a Function object over the range [min,max].

Definition at line 44 of file function_tools.h.

Constructor & Destructor Documentation

◆ ~NumericalIntegrationScheme()

virtual Euclid::MathUtils::NumericalIntegrationScheme::~NumericalIntegrationScheme ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ operator()()

virtual double Euclid::MathUtils::NumericalIntegrationScheme::operator() ( const Function function,
double  min,
double  max 
)
pure virtual

Compute (numerically) the integral of the function on the provided interval.

Parameters
functionthe Function to integrate.
minThe minimum range of the integration.
maxThe maximum range of the integration.

Implemented in Euclid::MathUtils::AdaptativeIntegration< Quadrature >.


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