Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
hydra::detail::spline Namespace Reference

Functions

template<typename T = double>
std::enable_if< std::is_convertible< T, double >::value, T >::type __hydra_host__ __hydra_device__ cubic_spline (size_t i, size_t N, T const (&X)[4], T const (&Y)[4], T value)
 
template<typename Iterator , typename T >
__hydra_host__ __hydra_device__ Iterator lower_bound (Iterator first, Iterator last, const T &value)
 

Function Documentation

◆ cubic_spline()

template<typename T = double>
std::enable_if< std::is_convertible<T, double>::value, T>::type __hydra_host__ __hydra_device__ hydra::detail::spline::cubic_spline ( size_t  i,
size_t  N,
T const (&)  X[4],
T const (&)  Y[4],
value 
)
inline

◆ lower_bound()

template<typename Iterator , typename T >
__hydra_host__ __hydra_device__ Iterator hydra::detail::spline::lower_bound ( Iterator  first,
Iterator  last,
const T &  value 
)
inline