vSMC  v3.0.0
Scalable Monte Carlo
Classes | Namespaces | Functions
basic.hpp File Reference
#include <vsmc/internal/config.h>
#include <vsmc/internal/assert.hpp>
#include <vsmc/internal/defines.hpp>
#include <vsmc/internal/forward.hpp>
#include <vsmc/internal/traits.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 <type_traits>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  vsmc::internal::BufferSize< T >
 
class  vsmc::internal::Log2< UIntType, U >
 
class  vsmc::internal::Log2L< U, N >
 
class  vsmc::internal::Log2L< 0, N >
 
class  vsmc::internal::Log2L< U, 0 >
 

Namespaces

 vsmc
 
 vsmc::internal
 

Functions

template<typename T >
bool vsmc::internal::is_equal (const T &a, const T &b, std::true_type)
 
template<typename T >
bool vsmc::internal::is_equal (const T &a, const T &b, std::false_type)
 
template<typename T >
bool vsmc::internal::is_equal (const T &a, const T &b)
 
template<typename T >
bool vsmc::internal::is_negative (const T &, std::true_type)
 
template<typename T >
bool vsmc::internal::is_negative (const T &a, std::false_type)
 
template<typename T >
bool vsmc::internal::is_negative (const T &a)
 
template<typename T >
bool vsmc::internal::is_nullptr (T ptr, std::true_type)
 
template<typename T >
bool vsmc::internal::is_nullptr (T, std::false_type)
 
template<typename T >
bool vsmc::internal::is_nullptr (T ptr)
 
template<typename T >
bool vsmc::internal::is_one (const T &a)
 
template<typename T >
bool vsmc::internal::is_zero (const T &a)
 
template<typename CharT , typename Traits , typename T , std::size_t N>
std::basic_istream< CharT, Traits > & vsmc::internal::istream (std::basic_istream< CharT, Traits > &is, std::array< T, N > &ary)
 
template<typename CharT , typename Traits , typename T , typename Alloc >
std::basic_istream< CharT, Traits > & vsmc::internal::istream (std::basic_istream< CharT, Traits > &is, std::vector< T, Alloc > &vec)
 
template<std::size_t , typename CharT , typename Traits , typename T , std::size_t N>
void vsmc::internal::istream_ary (std::basic_istream< CharT, Traits > &, std::array< T, N > &, std::false_type)
 
template<std::size_t K, typename CharT , typename Traits , typename T , std::size_t N>
void vsmc::internal::istream_ary (std::basic_istream< CharT, Traits > &is, std::array< T, N > &ary, std::true_type)
 
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::internal::operator<< (std::basic_ostream< CharT, Traits > &os, const std::array< T, N > &ary)
 
template<typename CharT , typename Traits , typename T , typename Alloc >
std::basic_ostream< CharT, Traits > & vsmc::internal::operator<< (std::basic_ostream< CharT, Traits > &os, const std::vector< T, Alloc > &vec)
 
template<typename CharT , typename Traits , typename T , typename Alloc >
std::basic_ostream< CharT, Traits > & vsmc::operator<< (std::basic_ostream< CharT, Traits > &os, const std::vector< T, Alloc > &vec)
 
template<typename CharT , typename Traits , typename T , std::size_t N>
std::basic_istream< CharT, Traits > & vsmc::internal::operator>> (std::basic_istream< CharT, Traits > &is, std::array< T, N > &ary)
 
template<typename CharT , typename Traits , typename T , typename Alloc >
std::basic_istream< CharT, Traits > & vsmc::internal::operator>> (std::basic_istream< CharT, Traits > &is, std::vector< T, Alloc > &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 , typename Alloc >
std::basic_istream< CharT, Traits > & vsmc::operator>> (std::basic_istream< CharT, Traits > &is, std::vector< T, Alloc > &vec)
 
template<typename CharT , typename Traits , typename T , std::size_t N>
std::basic_ostream< CharT, Traits > & vsmc::internal::ostream (std::basic_ostream< CharT, Traits > &os, const std::array< T, N > &ary)
 
template<typename CharT , typename Traits , typename T , typename Alloc >
std::basic_ostream< CharT, Traits > & vsmc::internal::ostream (std::basic_ostream< CharT, Traits > &os, const std::vector< T, Alloc > &vec)
 
template<std::size_t , typename CharT , typename Traits , typename T , std::size_t N>
void vsmc::internal::ostream_ary (std::basic_ostream< CharT, Traits > &, const std::array< T, N > &, std::false_type)
 
template<std::size_t K, typename CharT , typename Traits , typename T , std::size_t N>
void vsmc::internal::ostream_ary (std::basic_ostream< CharT, Traits > &os, const std::array< T, N > &ary, std::true_type)
 
template<std::size_t , typename CharT , typename Traits , typename T , std::size_t N>
void vsmc::internal::ostream_ary_space (std::basic_ostream< CharT, Traits > &, const std::array< T, N > &, std::false_type)
 
template<std::size_t , typename CharT , typename Traits , typename T , std::size_t N>
void vsmc::internal::ostream_ary_space (std::basic_ostream< CharT, Traits > &os, const std::array< T, N > &, std::true_type)