ProteoWizard
Public Member Functions | List of all members
IInterpolation Class Referenceabstract

Interface for interpolating between points in a discrete data set. More...

#include <IInterpolation.hpp>

Inheritance diagram for IInterpolation:
pwiz::analysis::CubicHermiteSpline

Public Member Functions

virtual ~IInterpolation ()
 
virtual bool IsDifferentiable ()=0
 Indicates whether the algorithm can provide an interpolated derivative. More...
 
virtual bool IsIntegrable ()=0
 Indicates whether the algorithm can provide an interpolated integral. More...
 
virtual double Differentiate (double x)=0
 Derivative at the point x. More...
 
virtual double Integrate (double a, double b)=0
 Definite integral between points a and b over function f. More...
 
virtual double Interpolate (double x)=0
 Interpolate at point x. More...
 

Detailed Description

Interface for interpolating between points in a discrete data set.

Definition at line 24 of file IInterpolation.hpp.

Constructor & Destructor Documentation

◆ ~IInterpolation()

virtual IInterpolation::~IInterpolation ( )
inlinevirtual

Definition at line 27 of file IInterpolation.hpp.

27 {}

Member Function Documentation

◆ IsDifferentiable()

virtual bool IInterpolation::IsDifferentiable ( )
pure virtual

Indicates whether the algorithm can provide an interpolated derivative.

Implemented in pwiz::analysis::CubicHermiteSpline.

◆ IsIntegrable()

virtual bool IInterpolation::IsIntegrable ( )
pure virtual

Indicates whether the algorithm can provide an interpolated integral.

Implemented in pwiz::analysis::CubicHermiteSpline.

◆ Differentiate()

virtual double IInterpolation::Differentiate ( double  x)
pure virtual

Derivative at the point x.

Parameters
xPoint at which to integrate.
Returns
Value of interpolated derivative.

Implemented in pwiz::analysis::CubicHermiteSpline.

◆ Integrate()

virtual double IInterpolation::Integrate ( double  a,
double  b 
)
pure virtual

Definite integral between points a and b over function f.

Parameters
[in]aLower bound of the integration interval [a, b].
[in]bUpper bound of the integration interval [a, b].
Returns
Value of the interpolated integral.

Implemented in pwiz::analysis::CubicHermiteSpline.

◆ Interpolate()

virtual double IInterpolation::Interpolate ( double  x)
pure virtual

Interpolate at point x.

Implemented in pwiz::analysis::CubicHermiteSpline.


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