26 #ifndef MLN_ACCU_MATH_INF_HH
27 # define MLN_ACCU_MATH_INF_HH
33 # include <mln/accu/internal/base.hh>
34 # include <mln/core/concept/meta_accumulator.hh>
35 # include <mln/trait/value_.hh>
36 # include <mln/util/pix.hh>
37 # include <mln/fun/math/inf.hh>
56 struct inf :
public mln::accu::internal::base< const T&, inf<T> >
65 void take_as_init_(
const argument& t);
66 void take(
const argument& t);
80 typename mln::fun::inf::with<T, T>::ret fun_;
84 template <
typename I>
struct inf< util::pix<I> >;
111 # ifndef MLN_INCLUDE_ONLY
116 template <
typename T>
123 template <
typename T>
131 template <
typename T>
138 template <
typename T>
140 void inf<T>::take(
const argument& t)
142 this->t_ = this->fun_(t_, t);
145 template <
typename T>
148 inf<T>::take(
const inf<T>& other)
150 this->t_ = this->fun_(t_, other.t_);
153 template <
typename T>
161 template <
typename T>
171 # endif // ! MLN_INCLUDE_ONLY
178 #endif // ! MLN_ACCU_MATH_INF_HH