#include <hydra/FCN.h>
#include <hydra/PDFSumExtendable.h>
#include <hydra/detail/functors/LogLikelihood1.h>
#include <hydra/detail/external/hydra_thrust/transform_reduce.h>
#include <hydra/detail/external/hydra_thrust/inner_product.h>
Go to the source code of this file.
|
| hydra |
| Generic policies definition.
|
|
|
template<typename... Pdfs, typename Iterator , typename ... Iterators> |
std::enable_if< hydra::detail::is_iterator< Iterator >::value &&detail::are_iterators< Iterators... >::value, LogLikelihoodFCN< PDFSumExtendable< Pdfs... >, Iterator, Iterators... > >::type | hydra::make_loglikehood_fcn (PDFSumExtendable< Pdfs... > const &functor, Iterator first, Iterator last, Iterators... weights) |
| Conveniency function to build up loglikehood fcns. More...
|
|
template<typename ... Pdfs, typename Iterable , typename ... Iterables> |
std::enable_if<(!detail::is_iterator< Iterable >::value) &&((sizeof...(Iterables)==0)||!detail::are_iterators< Iterables... >::value) &&(!hydra::detail::is_hydra_dense_histogram< typename std::remove_reference< Iterable >::type >::value) &&(!hydra::detail::is_hydra_sparse_histogram< typename std::remove_reference< Iterable >::type >::value) &&detail::is_iterable< Iterable >::value &&detail::are_iterables< Iterables... >::value,LogLikelihoodFCN< PDFSumExtendable< Pdfs... >, decltype(std::declval< Iterable >).begin()), decltype(std::declval< Iterables >).begin())... > >::type | hydra::make_loglikehood_fcn (PDFSumExtendable< Pdfs... > const &functor, Iterable &&points, Iterables &&... weights) |
| Conveniency function to build up loglikehood fcns. More...
|
|
template<typename ... Pdfs, typename Histogram > |
std::enable_if< detail::is_hydra_dense_histogram< Histogram >::value||detail::is_hydra_sparse_histogram< Histogram >::value, LogLikelihoodFCN< PDFSumExtendable< Pdfs... >, decltype(std::declval< const Histogram & >).GetBinsCenters().begin()), decltype(std::declval< const Histogram & >).GetBinsContents().begin()) > >::type | hydra::make_loglikehood_fcn (PDFSumExtendable< Pdfs... > const &functor, Histogram const &points) |
|
◆ LOGLIKELIHOODFCN2_INL_
#define LOGLIKELIHOODFCN2_INL_ |