Namespaces | Functions
effective_sample_size.hpp File Reference

Implementation of an algorithm to calculate the effective sample size (ESS). More...

#include <beluga/type_traits/particle_traits.hpp>
#include <beluga/views/particles.hpp>
#include <range/v3/numeric/accumulate.hpp>
Include dependency graph for effective_sample_size.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 beluga
 The main Beluga namespace.
 

Functions

template<class Range , std::enable_if_t<!is_particle_range_v< Range >, int > = 0>
auto beluga::effective_sample_size (Range &&range)
 Calculate the ESS of a given a range of weights. More...
 

Detailed Description

Implementation of an algorithm to calculate the effective sample size (ESS).

Definition in file effective_sample_size.hpp.



beluga
Author(s):
autogenerated on Tue Jul 16 2024 02:59:53