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

Classes

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

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
 

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

◆ 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

◆ 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