0000000e
  B   ˆl–Ãa¾”êh¥2 ¸&®6â˜´o�þc«7) ä�n1ˆ þÂƒï3Á_‹I|¥�+ýÿ¹ä³ÁÀ §    // Copyright 2018 Hans Dembinski
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)

#ifndef BOOST_HISTOGRAM_MAKE_PROFILE_HPP
#define BOOST_HISTOGRAM_MAKE_PROFILE_HPP

#include <boost/histogram/accumulators/mean.hpp>
#include <boost/histogram/accumulators/weighted_mean.hpp>
#include <boost/histogram/fwd.hpp>
#include <boost/histogram/make_histogram.hpp>

/**
  \file boost/histogram/make_profile.hpp
  Collection of factory functions to conveniently create profiles.

  Profiles are histograms which accept an additional sample and compute the mean of the
  sample in each cell.
*/

namespace boost {
namespace histogram {

/**
  Make profle from compile-time axis configuration.
  @param axis First axis instance.
  @param axes Other axis instances.
*/
template <class Axis, class... Axes, class = detail::requires_axis<Axis>>
auto make_profile(Axis&& axis, Axes&&... axes) {
  return make_histogram_with(profile_storage(), std::forward<Axis>(axis),
                             std::forward<Axes>(axes)...);
}

/**
  Make profle from compile-time axis configuration which accepts weights.
  @param axis First axis instance.
  @param axes Other axis instances.
*/
template <class Axis, class... Axes, class = detail::requires_axis<Axis>>
auto make_weighted_profile(Axis&& axis, Axes&&... axes) {
  return make_histogram_with(weighted_profile_storage(), std::forward<Axis>(axis),
                             std::forward<Axes>(axes)...);
}

/**
  Make profile from iterable range.
  @param iterable Iterable range of axis objects.
*/
template <class Iterable, class = detail::requires_sequence_of_any_axis<Iterable>>
auto make_profile(Iterable&& iterable) {
  return make_histogram_with(profile_storage(), std::forward<Iterable>(iterable));
}

/**
  Make profile from iterable range which accepts weights.
  @param iterable Iterable range of axis objects.
*/
template <class Iterable, class = detail::requires_sequence_of_any_axis<Iterable>>
auto make_weighted_profile(Iterable&& iterable) {
  return make_histogram_with(weighted_profile_storage(),
                             std::forward<Iterable>(iterable));
}

/**
  Make profile from iterator interval.
  @param begin Iterator to range of axis objects.
  @param end   Iterator to range of axis objects.
*/
template <class Iterator, class = detail::requires_iterator<Iterator>>
auto make_profile(Iterator begin, Iterator end) {
  return make_histogram_with(profile_storage(), begin, end);
}

/**
  Make profile from iterator interval which accepts weights.
  @param begin Iterator to range of axis objects.
  @param end   Iterator to range of axis objects.
*/
template <class Iterator, class = detail::requires_iterator<Iterator>>
auto make_weighted_profile(Iterator begin, Iterator end) {
  return make_histogram_with(weighted_profile_storage(), begin, end);
}

} // namespace histogram
} // namespace boost

#endif
  Y   ˆl—äY>”*h¥2 Y¸ÛweLZ7ÿ“þYdK7(È7tN¶@-7³WüÿÄ{‹„„-i[D<†ªoZƒ›Ù«Å428_‹I|¥Žƒî4ÃVŸÅÄ ¬    ‹      uQÁjÜ0½û+&°7x-BNuIK 	ì¥	›í©”F–Çk5^É•ÆKBØïÈ¶ºÉa�æ½™÷Þ¤ƒGðä´¢ôs²—Îáþ´Ã,-
¡¡3²ó_zë(]L8iî«?¨è$\š¥‘QiSŸD7ƒQ¤­YÔRYn¼ügn‘‘VŒ•dÝÉ[zþôŒô©Æ“¼¹à‰ðÄ»ŠÞY²ôÚc�{t¯O°Cjmú-QïK!¶šÚ¡*”Ý	RWŸSzëeÇê»'7Ë'çÙ�t¬°„”ç§9ŒJ 7`ÎÂdÿëÖS‡Þ€QD	1¥©Î”ìºJªçÆ€¸€¨ÕþÆmáB,F@°Ï‘°õx¯,€ØiìêcªcÎ˜÷WÙÁÔwqÿõxÍwr`wÃù¢C³¥¾À%|=>ÿ¼ü%ðl´Ází�gàl¾AåäG¯Ù^v!O¶�¾ tÙÙQá,çn6¯‘Âêñ÷js»¾ÙÜ¯cî«ïü°þñ°¹ýÃ_�Øc˜‡äÀþÇã@2       ˆÀ¿Æ482_‘I|¥‰ÓMdœv ©ƒ†ü+=ÆÅ â    ‹      µ”QoÓ0…ß÷+.~à-¹mV`ÚÃh*QÑµUñàÄnã‘Ä‘íÒ•_?§é´‚Z<ÅŽ¿ÜsÎµú,™ÓÏó¼Ko&0ÿðv2	?ž“4éa¯�8š …sÍ%âf³	7ç¡6+LX¸ª uFå.NvFÛwìh!¹ðO N¹R²q-ä=è% ^;«„`ctŽ®0¬,—h´v¸¶mÁ�ÄZygñÍFfÜZYeåÖOY6ÒõºÊ¤±(mE±“ð¢¸W¥™ÛÖLÿÿ
ûú»ˆ<Ûé·CÃ¨+à;/ÕªŽ‰ÓaTU+°&�	ª\×³’×ßÂ•Zà¥‹É—ñpöÕsÞTû5£¼»eL^ãéÕ,N›òJRäÇ™Ï\6áÖA¥…Z*)NÂ·|«~œ.˜tL"mnTã”®ŸPô£æº´÷Y_ø…9¤:Dü®<ÿ©óëÅhš&ãE×Ñ–xr÷�·‘°¹gk‰22wÚl÷I;Ùçuf›«Ç)ìsµ*a %ÿ"¼“÷î0|ú)=[µÇ8¼³„=Ž}þ