CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::FloatCompare Struct Reference

#include <CASM_math.hh>

Detailed Description

Definition at line 156 of file CASM_math.hh.

Public Member Functions

 FloatCompare (double _tol)
 
template<typename T >
bool operator() (const T &A, const T &B) const
 

Public Attributes

double tol
 

Constructor & Destructor Documentation

◆ FloatCompare()

CASM::FloatCompare::FloatCompare ( double  _tol)
inline

Definition at line 159 of file CASM_math.hh.

Member Function Documentation

◆ operator()()

template<typename T >
bool CASM::FloatCompare::operator() ( const T &  A,
const T &  B 
) const
inline

Definition at line 162 of file CASM_math.hh.

Member Data Documentation

◆ tol

double CASM::FloatCompare::tol

Definition at line 157 of file CASM_math.hh.


The documentation for this struct was generated from the following file: