Hydra: SplineFunctor.h File Reference (original) (raw)
#include <hydra/detail/Config.h>#include <hydra/detail/BackendPolicy.h>#include <hydra/Types.h>#include <hydra/Function.h>#include <hydra/Spline.h>#include <hydra/DenseHistogram.h>#include <hydra/SparseHistogram.h>#include <hydra/Placeholders.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 <math.h>#include <algorithm>#include <memory>
Go to the source code of this file.
| Namespaces |
|---|
| Functions | |
|---|---|
| template<typename ArgType , typename Iterator1 , typename Iterator2 > | |
| SplineFunctor< Iterator1, Iterator2, ArgType > | hydra::make_spline (Iterator1 firstX, Iterator1 lastX, Iterator2 firstY) |
| template<typename ArgType , typename Iterable1 , typename Iterable2 > | |
| std::enable_if< hydra::detail::is_iterable< Iterable1 >::value &&hydra::detail::is_iterable< Iterable2 >::value, SplineFunctor< decltype(std::declval< Iterable1 >).begin()), decltype(std::declval< Iterable2 >).begin()), ArgType > >::type | hydra::make_spline (Iterable1 &&x, Iterable2 &&y) |
| template<typename T , hydra::detail::Backend BACKEND> | |
| SplineFunctor< decltype(std::declval< DenseHistogram< T, 1, hydra::detail::BackendPolicy< BACKEND >, detail::unidimensional > >).GetBinsCenters().begin()), decltype(std::declval< DenseHistogram< T, 1, hydra::detail::BackendPolicy< BACKEND >, detail::unidimensional > >).GetBinsContents().begin()), T > | hydra::make_spline (DenseHistogram< T, 1, hydra::detail::BackendPolicy< BACKEND >, detail::unidimensional > const &histogram) |
| template<typename T , hydra::detail::Backend BACKEND> | |
| SplineFunctor< decltype(std::declval< SparseHistogram< T, 1, hydra::detail::BackendPolicy< BACKEND >, detail::unidimensional > >).GetBinsCenters().begin()), decltype(std::declval< SparseHistogram< T, 1, hydra::detail::BackendPolicy< BACKEND >, detail::unidimensional > >).GetBinsContents().begin()), T > | hydra::make_spline (SparseHistogram< T, 1, hydra::detail::BackendPolicy< BACKEND >, detail::unidimensional > const &histogram) |