PPCKO: Principal Predictive Components for Estimating an Autoregressive Operator
 
Loading...
Searching...
No Matches
interp_func Struct Reference

Contains the function to perform unidimensional-univariate function interpolation and the grid for which the function evaluation are already available. More...

#include <interp_func.hpp>

Public Member Functions

double operator() (const double &x, const std::vector< double > &evals)
 Perform the interpolation of the function on a given point.
 

Public Attributes

std::vector< double > grid_eval
 Grid for which the function evaluation are already available.
 

Detailed Description

Contains the function to perform unidimensional-univariate function interpolation and the grid for which the function evaluation are already available.

Member Function Documentation

◆ operator()()

double interp_func::operator() ( const double & x,
const std::vector< double > & evals )
inline

Perform the interpolation of the function on a given point.

Parameters
xthe abscissa for which the interpolated value is looked for
evalsvector indicating the value of the function in 'grid_eval'
Returns
the interpolated function value

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