Alexandria  2.27.0
SDC-CH common library for the Euclid project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
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

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.

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:

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: