openjij
Framework for the Ising model and QUBO.
Loading...
Searching...
No Matches
fmath::local Namespace Reference

Classes

union  fi
union  di
struct  ExpVar
struct  ExpdVar
struct  LogVar
struct  C

Typedefs

typedef unsigned long long uint64_t

Functions

unsigned int mask (int x)
uint64_t mask64 (int x)
template<class T>
const T * cast_to (const void *p)
template<class T, size_t N>
size_t NumOfArray (const T(&)[N])

Variables

const size_t EXP_TABLE_SIZE = 10
const size_t EXPD_TABLE_SIZE = 11
const size_t LOG_TABLE_SIZE = 12
template<size_t EXP_N, size_t LOG_N, size_t EXPD_N>
const ExpVar< EXP_N > C< EXP_N, LOG_N, EXPD_N >::expVar
template<size_t EXP_N, size_t LOG_N, size_t EXPD_N>
const LogVar< LOG_N > C< EXP_N, LOG_N, EXPD_N >::logVar
template<size_t EXP_N, size_t LOG_N, size_t EXPD_N>
const ExpdVar< EXPD_N > C< EXP_N, LOG_N, EXPD_N >::expdVar

Typedef Documentation

◆ uint64_t

typedef unsigned long long fmath::local::uint64_t

Function Documentation

◆ cast_to()

template<class T>
const T * fmath::local::cast_to ( const void * p)
inline

Referenced by fmath::exp_pd(), fmath::exp_ps(), and fmath::log_ps().

Here is the caller graph for this function:

◆ mask()

unsigned int fmath::local::mask ( int x)
inline

◆ mask64()

uint64_t fmath::local::mask64 ( int x)
inline

Referenced by fmath::local::ExpdVar< sbit_ >::ExpdVar().

Here is the caller graph for this function:

◆ NumOfArray()

template<class T, size_t N>
size_t fmath::local::NumOfArray ( const T(&)[N])

Variable Documentation

◆ C< EXP_N, LOG_N, EXPD_N >::expdVar

template<size_t EXP_N, size_t LOG_N, size_t EXPD_N>
const ExpdVar<EXPD_N> fmath::local::C< EXP_N, LOG_N, EXPD_N >::expdVar

◆ C< EXP_N, LOG_N, EXPD_N >::expVar

template<size_t EXP_N, size_t LOG_N, size_t EXPD_N>
const ExpVar<EXP_N> fmath::local::C< EXP_N, LOG_N, EXPD_N >::expVar

Referenced by fmath::exp(), and fmath::exp_ps().

◆ C< EXP_N, LOG_N, EXPD_N >::logVar

template<size_t EXP_N, size_t LOG_N, size_t EXPD_N>
const LogVar<LOG_N> fmath::local::C< EXP_N, LOG_N, EXPD_N >::logVar

Referenced by fmath::log(), and fmath::log_ps().

◆ EXP_TABLE_SIZE

const size_t fmath::local::EXP_TABLE_SIZE = 10

◆ EXPD_TABLE_SIZE

const size_t fmath::local::EXPD_TABLE_SIZE = 11

◆ LOG_TABLE_SIZE

const size_t fmath::local::LOG_TABLE_SIZE = 12