vSMC
vSMC: Scalable Monte Carlo
Namespaces | Typedefs | Functions
common.hpp File Reference
#include <vsmc/internal/assert.hpp>
#include <vsmc/internal/config.h>
#include <vsmc/internal/defines.hpp>
#include <vsmc/internal/forward.hpp>
#include <vsmc/internal/traits.hpp>
#include <vsmc/math/math.hpp>
#include <vsmc/utility/aligned_memory.hpp>
#include <algorithm>
#include <array>
#include <atomic>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <exception>
#include <fstream>
#include <functional>
#include <future>
#include <initializer_list>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <list>
#include <map>
#include <memory>
#include <mutex>
#include <new>
#include <numeric>
#include <random>
#include <sstream>
#include <stdexcept>
#include <string>
#include <thread>
#include <tuple>
#include <type_traits>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

 vsmc
 
 vsmc::internal
 

Typedefs

template<typename T , std::size_t Dim>
using vsmc::internal::Array = typename std::conditional< Dim==Dynamic, Vector< T >, std::array< T, Dim >>::type
 

Functions

template<typename T >
bool vsmc::internal::is_equal (const T &a, const T &b)
 
template<typename UIntType >
std::string vsmc::internal::itos (UIntType i, std::true_type)
 
template<typename IntType >
std::string vsmc::internal::itos (IntType i, std::false_type)
 
template<typename IntType >
std::string vsmc::internal::itos (IntType i)
 
template<typename CharT , typename Traits , typename T , std::size_t N>
std::basic_ostream< CharT, Traits > & vsmc::operator<< (std::basic_ostream< CharT, Traits > &os, const std::array< T, N > &ary)
 
template<typename CharT , typename Traits , typename T , std::size_t N>
std::basic_ostream< CharT, Traits > & vsmc::operator<< (std::basic_ostream< CharT, Traits > &os, const Vector< T > &vec)
 
template<typename CharT , typename Traits , typename T , std::size_t N>
std::basic_istream< CharT, Traits > & vsmc::operator>> (std::basic_istream< CharT, Traits > &is, std::array< T, N > &ary)
 
template<typename CharT , typename Traits , typename T , std::size_t N>
std::basic_istream< CharT, Traits > & vsmc::operator>> (std::basic_istream< CharT, Traits > &is, Vector< T > &vec)
 
template<typename T , std::size_t N>
void vsmc::internal::resize (std::array< T, N > &, std::size_t)
 
template<typename T >
void vsmc::internal::resize (Vector< T > &vec, std::size_t n)