Struct reweight_fn

Inheritance Relationships

Base Type

Struct Documentation

struct reweight_fn : public beluga::actions::detail::reweight_base_fn

Implementation detail for a reweight range adaptor object with a default execution policy.

Public Functions

template<class Range, class Model, std::enable_if_t<ranges::range<Range>, int> = 0>
inline constexpr auto operator()(Range &&range, Model model) const -> Range&

Overload that defines a default execution policy.

template<class Model>
inline constexpr auto operator()(Model model) const

Overload that returns a view closure to compose with other views.