CASM  1.1.0
A Clusters Approach to Statistical Mechanics
Local Namespace Reference

Functions

template<typename T >
static bool _compare (T const &a, T const &b, double tol)
 
template<>
bool _compare (std::complex< double > const &a, std::complex< double > const &b, double tol)
 

Variables

template<typename T >
auto round_l = [](T val) { return boost::math::round<T>(val); }
 
template<typename T >
auto iround_l = [](T val) { return boost::math::iround<T>(val); }
 
template<typename T >
auto lround_l = [](T val) { return boost::math::lround<T>(val); }
 

Function Documentation

◆ _compare() [1/2]

template<>
bool Local::_compare ( std::complex< double > const &  a,
std::complex< double > const &  b,
double  tol 
)
inline

Definition at line 24 of file CASM_Eigen_math.hh.

◆ _compare() [2/2]

template<typename T >
static bool Local::_compare ( T const &  a,
T const &  b,
double  tol 
)
inlinestatic

Definition at line 19 of file CASM_Eigen_math.hh.

Variable Documentation

◆ iround_l

template<typename T >
auto Local::iround_l = [](T val) { return boost::math::iround<T>(val); }

Definition at line 38 of file CASM_Eigen_math.hh.

◆ lround_l

template<typename T >
auto Local::lround_l = [](T val) { return boost::math::lround<T>(val); }

Definition at line 40 of file CASM_Eigen_math.hh.

◆ round_l

template<typename T >
auto Local::round_l = [](T val) { return boost::math::round<T>(val); }

Definition at line 36 of file CASM_Eigen_math.hh.