Alexandria 2.31.2
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Euclid::MathUtils::InterpolationImpl< T, typename std::enable_if< std::is_integral< T >::value >::type > Struct Template Reference

Static Public Member Functions

static double interpolate (const T x, const std::vector< T > &knots, const std::vector< double > &values, bool)
 
template<typename... Rest>
static double interpolate (const T x, const std::vector< T > &knots, const std::vector< std::unique_ptr< InterpN< Rest... > > > &interpolators, bool, const Rest... rest)
 
static void checkOrder (const std::vector< T > &knots)
 

Detailed Description

template<typename T>
struct Euclid::MathUtils::InterpolationImpl< T, typename std::enable_if< std::is_integral< T >::value >::type >

Definition at line 59 of file GridInterpolation.icpp.

Member Function Documentation

◆ checkOrder()

template<typename T >
static void Euclid::MathUtils::InterpolationImpl< T, typename std::enable_if< std::is_integral< T >::value >::type >::checkOrder ( const std::vector< T > & knots)
inlinestatic

Definition at line 76 of file GridInterpolation.icpp.

References std::vector< T >::begin(), std::vector< T >::end(), and std::vector< T >::front().

Here is the call graph for this function:

◆ interpolate() [1/2]

template<typename T >
static double Euclid::MathUtils::InterpolationImpl< T, typename std::enable_if< std::is_integral< T >::value >::type >::interpolate ( const T x,
const std::vector< T > & knots,
const std::vector< double > & values,
bool  )
inlinestatic

Definition at line 60 of file GridInterpolation.icpp.

References std::vector< T >::back(), and std::vector< T >::front().

Here is the call graph for this function:

◆ interpolate() [2/2]

template<typename T >
template<typename... Rest>
static double Euclid::MathUtils::InterpolationImpl< T, typename std::enable_if< std::is_integral< T >::value >::type >::interpolate ( const T x,
const std::vector< T > & knots,
const std::vector< std::unique_ptr< InterpN< Rest... > > > & interpolators,
bool ,
const Rest... rest )
inlinestatic

Definition at line 68 of file GridInterpolation.icpp.

References std::vector< T >::back(), and std::vector< T >::front().

Here is the call graph for this function:

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