vSMC  v3.0.0
Scalable Monte Carlo
Classes | Namespaces | Macros
particle.hpp File Reference
#include <vsmc/internal/common.hpp>
#include <vsmc/core/single_particle.hpp>
#include <vsmc/core/weight.hpp>
#include <vsmc/resample/algorithm.hpp>
#include <vsmc/rng/rng_set.hpp>
#include <vsmc/rng/seed.hpp>

Go to the source code of this file.

Classes

class  vsmc::Particle< T >
 Particle class representing the whole particle set. More...
 
class  vsmc::ParticleRange< T >
 A subset of particles. More...
 

Namespaces

 vsmc
 

Macros

#define VSMC_RUNTIME_ASSERT_CORE_PARTICLE_RESIZE_BY_RANGE
 

Macro Definition Documentation

#define VSMC_RUNTIME_ASSERT_CORE_PARTICLE_RESIZE_BY_RANGE
Value:
(!internal::is_negative(first) && first < last && last <= size_), \
"**Particle::resize_by_range** INDICES OUT OF RANGE")
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition: assert.hpp:59
bool is_negative(const T &, std::true_type)
Definition: basic.hpp:113

Definition at line 42 of file particle.hpp.