vSMC  v3.0.0
Scalable Monte Carlo
Classes | Enumerations | Functions
Core

Constructing samplers with operations on the whole particle set. More...

Classes

class  vsmc::Monitor< T >
 Monitor for Monte Carlo integration. More...
 
class  vsmc::Particle< T >
 Particle class representing the whole particle set. More...
 
class  vsmc::ParticleRange< T >
 A subset of particles. More...
 
class  vsmc::Sampler< T >
 SMC Sampler. More...
 
class  vsmc::SingleParticle< T >
 A thin wrapper over a complete Particle. More...
 
class  vsmc::SingleParticleBase< T >
 A thin wrapper over a complete Particle. More...
 
class  vsmc::StateMatrix< ColMajor, Dim, T >
 Particle::value_type subtype. More...
 
class  vsmc::StateMatrix< RowMajor, Dim, T >
 Particle::value_type subtype. More...
 
class  vsmc::StateMatrixBase< Layout, Dim, T >
 Base type of StateMatrix. More...
 
class  vsmc::StateMatrixBase< Layout, Dim, T >::single_particle_type< S >
 
class  vsmc::Weight
 Weight class. More...
 
class  vsmc::WeightNull
 An empty weight set class. More...
 

Enumerations

enum  vsmc::SamplerStage {
  vsmc::SamplerInit = 1 << 0,
  vsmc::SamplerMove = 1 << 1,
  vsmc::SamplerMCMC = 1 << 2
}
 Sampler evaluaiton stages. More...
 

Functions

template<MatrixLayout Layout, std::size_t Dim, typename T >
void vsmc::swap (StateMatrixBase< Layout, Dim, T > &state1, StateMatrixBase< Layout, Dim, T > &state2) noexcept
 Swap two StateMatrixBase objects. More...
 

Detailed Description

Constructing samplers with operations on the whole particle set.

Enumeration Type Documentation

Sampler evaluaiton stages.

Enumerator
SamplerInit 

Evaluation at initialization before resampling.

SamplerMove 

Evaluation at iteration before resampling.

SamplerMCMC 

Evaluation at after resampling.

Definition at line 52 of file sampler.hpp.

Function Documentation

template<MatrixLayout Layout, std::size_t Dim, typename T >
void vsmc::swap ( StateMatrixBase< Layout, Dim, T > &  state1,
StateMatrixBase< Layout, Dim, T > &  state2 
)
inlinenoexcept

Swap two StateMatrixBase objects.

Definition at line 199 of file state_matrix.hpp.