Column rounding component. Rounds a column if its value is equal to one of the template parameter values. Edge case (no template parameter values). More...
#include <ir_components.hpp>
Public Member Functions | |
round_condition_equals (double epsilon=utils::compare< double >::default_epsilon()) | |
constructor takes epsilon used in double comparison. | |
Protected Member Functions | |
template<typename LP > | |
boost::optional< double > | get (const LP &lp, double x) |
Edge case: return false. | |
Protected Attributes | |
const utils::compare< double > | m_compare |
Double comparison object. | |
Column rounding component. Rounds a column if its value is equal to one of the template parameter values. Edge case (no template parameter values).
Definition at line 114 of file ir_components.hpp.