25#ifndef INTERPOLATION_H
26#define INTERPOLATION_H
85template <std::
size_t N>
106template <std::
size_t N>
135#define INTERPOLATION_IMPL
137#undef INTERPOLATION_IMPL
Exception(ExitCode e=ExitCode::NOT_OK)
This module provides an interface for accessing two dimensional datasets (pairs of (X,...
ELEMENTS_API std::unique_ptr< NAryFunction< N > > interpn(const Coordinates< N > &grid, const NdArray::NdArray< double > &values, InterpolationType type, bool extrapolate=false)
ELEMENTS_API std::unique_ptr< Function > interpolate(const std::vector< double > &x, const std::vector< double > &y, InterpolationType type, bool extrapolate=false)
ELEMENTS_API double simple_interpolation(double x, const std::vector< double > &xp, const std::vector< double > &yp, bool extrapolate=false)
InterpolationType
Enumeration of the different supported interpolation types.