vSMC
vSMC: Scalable Monte Carlo
Classes | Namespaces | Macros | Functions
state_matrix.hpp File Reference
#include <vsmc/internal/common.hpp>
#include <vsmc/core/single_particle.hpp>
#include <vsmc/utility/aligned_memory.hpp>
#include <vsmc/utility/array.hpp>

Go to the source code of this file.

Classes

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< Order, Dim, T >
 Base type of StateTuple. More...
 
struct  vsmc::StateMatrixBase< Order, Dim, T >::const_single_particle_type< S >
 
struct  vsmc::StateMatrixBase< Order, Dim, T >::single_particle_type< S >
 

Namespaces

 vsmc
 

Macros

#define VSMC_RUNTIME_ASSERT_CORE_STATE_MATRIX_COPY_SIZE_MISMATCH
 
#define VSMC_RUNTIME_ASSERT_CORE_STATE_MATRIX_DIM_SIZE(dim)
 
#define VSMC_RUNTIME_ASSERT_CORE_STATE_MATRIX_UNPACK_SIZE(psize, dim)
 
#define VSMC_STATIC_ASSERT_CORE_STATE_MATRIX_DYNAMIC_DIM_RESIZE(Dim)
 

Functions

template<typename CharT , typename Traits , MatrixOrder Order, std::size_t Dim, typename T >
std::basic_ostream< CharT, Traits > & vsmc::operator<< (std::basic_ostream< CharT, Traits > &os, const StateMatrixBase< Order, Dim, T > &smatrix)
 

Macro Definition Documentation

#define VSMC_RUNTIME_ASSERT_CORE_STATE_MATRIX_COPY_SIZE_MISMATCH
Value:
VSMC_RUNTIME_ASSERT((N == static_cast<size_type>(this->size())), \
("**StateMatrix::copy** SIZE MISMATCH"))
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition: assert.hpp:64

Definition at line 44 of file state_matrix.hpp.

#define VSMC_RUNTIME_ASSERT_CORE_STATE_MATRIX_DIM_SIZE (   dim)
Value:
VSMC_RUNTIME_ASSERT((dim >= 1), \
("**StateMatrix** DIMENSION IS LESS THAN 1"))
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition: assert.hpp:64

Definition at line 48 of file state_matrix.hpp.

#define VSMC_RUNTIME_ASSERT_CORE_STATE_MATRIX_UNPACK_SIZE (   psize,
  dim 
)
Value:
VSMC_RUNTIME_ASSERT((psize >= dim), \
("**StateMatrix::state_unpack** INPUT PACK SIZE TOO SMALL"))
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition: assert.hpp:64

Definition at line 52 of file state_matrix.hpp.

#define VSMC_STATIC_ASSERT_CORE_STATE_MATRIX_DYNAMIC_DIM_RESIZE (   Dim)
Value:
USE_METHOD_resize_dim_WITH_A_FIXED_SIZE_StateMatrix_OBJECT)
Used to specify a dimension template parameter is dynamic.
Definition: defines.hpp:97
#define VSMC_STATIC_ASSERT(cond, msg)
Definition: assert.hpp:46

Definition at line 40 of file state_matrix.hpp.