#include <hydra/detail/Config.h>
#include <hydra/detail/BackendPolicy.h>
#include <hydra/Types.h>
#include <hydra/Function.h>
#include <hydra/detail/utility/CheckValue.h>
#include <hydra/detail/external/hydra_thrust/copy.h>
#include <hydra/detail/external/hydra_thrust/iterator/zip_iterator.h>
#include <hydra/detail/external/hydra_thrust/execution_policy.h>
#include <hydra/detail/external/hydra_thrust/binary_search.h>
#include <hydra/detail/external/hydra_thrust/extrema.h>
#include <hydra/detail/external/hydra_thrust/iterator/iterator_traits.h>
#include <hydra/detail/external/hydra_thrust/functional.h>
#include <hydra/detail/external/hydra_thrust/advance.h>
#include <math.h>
#include <algorithm>
#include <type_traits>
Go to the source code of this file.
|
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], T value) |
|
template<typename Iterator , typename T > |
__hydra_host__ __hydra_device__ Iterator | hydra::detail::spline::lower_bound (Iterator first, Iterator last, const T &value) |
|
template<typename Iterator1 , typename Iterator2 , typename Type > |
__hydra_host__ __hydra_device__ std::enable_if< std::is_convertible< typename hydra::thrust::iterator_traits< Iterator1 >::value_type, double >::value &&std::is_convertible< typename hydra::thrust::iterator_traits< Iterator2 >::value_type, double >::value &&std::is_convertible< Type, double >::value, Type >::type | hydra::spline (Iterator1 first, Iterator1 last, Iterator2 measurements, Type value) |
| Cubic monotone spline interpolation. More...
|
|
template<typename Iterable1 , typename Iterable2 , typename Type > |
__hydra_host__ __hydra_device__ std::enable_if< hydra::detail::is_iterable< Iterable1 >::value &&hydra::detail::is_iterable< Iterable2 >::value &&std::is_convertible< typename Iterable1::value_type, double >::value &&std::is_convertible< typename Iterable2::value_type, double >::value &&std::is_convertible< Type, double >::value, Type >::type | hydra::spline (Iterable1 &&abscissae, Iterable2 &&ordinate, Type value) |
|
◆ SPILINE_INL_