Variable beluga::actions::normalize

Variable Documentation

constexpr ranges::actions::action_closure<detail::normalize_fn> beluga::actions::normalize

Range adaptor object that can normalize a range of values (or a range of particles). The normalize range adaptor allows users to normalize the weights of a range (or a range of particles) by dividing each weight by a specified normalization factor.

If none is specified, the default normalization factor corresponds to the total sum of weights in the given range.