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_floating_point< 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 extrapolate)
 
template<typename... Rest>
static double interpolate (const T x, const std::vector< T > &knots, const std::vector< std::unique_ptr< InterpN< Rest... > > > &interpolators, bool extrapolate, 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_floating_point< T >::value >::type >

Trait for continuous types

Definition at line 18 of file GridInterpolation.icpp.

Member Function Documentation

◆ checkOrder()

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

Definition at line 51 of file GridInterpolation.icpp.

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

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_floating_point< T >::value >::type >::interpolate ( const T x,
const std::vector< T > & knots,
const std::vector< double > & values,
bool extrapolate )
inlinestatic

Definition at line 19 of file GridInterpolation.icpp.

References Euclid::MathUtils::simple_interpolation().

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_floating_point< T >::value >::type >::interpolate ( const T x,
const std::vector< T > & knots,
const std::vector< std::unique_ptr< InterpN< Rest... > > > & interpolators,
bool extrapolate,
const Rest... rest )
inlinestatic

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