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_arithmetic< 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 > &)
 

Detailed Description

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

Trait for discrete types

Definition at line 92 of file GridInterpolation.icpp.

Member Function Documentation

◆ checkOrder()

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

Definition at line 111 of file GridInterpolation.icpp.

◆ interpolate() [1/2]

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

Definition at line 93 of file GridInterpolation.icpp.

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

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_arithmetic< 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 102 of file GridInterpolation.icpp.

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

Here is the call graph for this function:

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