interpolation.h File Reference

CPP API: interpolation.h File Reference
interpolation.h File Reference
#include "memilio/utils/logging.h"
#include "memilio/utils/time_series.h"
#include "memilio/math/math_utils.h"
#include <cassert>
#include <vector>
#include <algorithm>
Include dependency graph for interpolation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mio
 A collection of classes to simplify handling of matrix shapes in meta programming.
 

Functions

template<typename X , typename V >
auto mio::linear_interpolation (const X &x_eval, const X &x_1, const X &x_2, const V &y1, const V &y2)
 Linear interpolation between two data values. More...
 
template<class FP >
TimeSeries< FP >::Vector mio::linear_interpolation (FP time, const TimeSeries< FP > &data)
 Linear interpolation of a TimeSeries. More...
 
template<typename X , typename Y >
mio::linear_interpolation_of_data_set (std::vector< std::pair< X, Y >> vector, const X &x_eval)
 Linear interpolation between two points of a dataset, which is represented by a vector of pairs of node and value. More...