tfel
Loading...
Searching...
No Matches
LinearInterpolation.ixx File Reference
#include <utility>
#include <type_traits>
#include "TFEL/ContractViolation.hxx"
#include "TFEL/Math/General/BasicOperations.hxx"
#include "TFEL/Math/General/DerivativeType.hxx"
#include "TFEL/Math/General/ResultType.hxx"

Namespaces

namespace  tfel
 the namespace tfel encloses all the TFEL project. This namespace is empty.
namespace  tfel::math
 This namespace contains various classes and functions défining mathematical objects and numerical algorithms.

Functions

template<typename AbscissaContainer, typename ValueContainer>
TFEL_HOST_DEVICE constexpr void tfel::math::linear_interpolation_internals::makeChecks (const AbscissaContainer &abscissae, const ValueContainer &values)
template<typename AbscissaContainer, typename AbscissaType>
TFEL_HOST_DEVICE constexpr auto tfel::math::linear_interpolation_internals::findIndex (const AbscissaContainer &abscissae, const AbscissaType a)
template<bool extrapolate, typename AbscissaContainer, typename ValueContainer, typename AbscissaType>
constexpr auto tfel::math::computeLinearInterpolation (const AbscissaContainer &, const ValueContainer &, const AbscissaType)
 compute a linear interpolation based on the given abscissae and values
template<bool extrapolate, typename AbscissaContainer, typename ValueContainer, typename AbscissaType>
constexpr auto tfel::math::computeLinearInterpolationAndDerivative (const AbscissaContainer &, const ValueContainer &, const AbscissaType)
 compute a linear interpolation based on the given abscissae and values and the associated derivative

Detailed Description

Author
Thomas Helfer
Date
27/07/2022