Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CloseEnoughComparator Struct Reference

#include <qle/interpolators/optioninterpolator2d.hpp>

+ Collaboration diagram for CloseEnoughComparator:

Public Member Functions

 CloseEnoughComparator (const QuantLib::Real v)
 
bool operator() (const QuantLib::Real w) const
 

Public Attributes

QuantLib::Real v_
 

Detailed Description

Definition at line 35 of file optioninterpolator2d.hpp.

Constructor & Destructor Documentation

◆ CloseEnoughComparator()

CloseEnoughComparator ( const QuantLib::Real  v)
explicit

Definition at line 36 of file optioninterpolator2d.hpp.

Member Function Documentation

◆ operator()()

bool operator() ( const QuantLib::Real  w) const

Definition at line 37 of file optioninterpolator2d.hpp.

37{ return QuantLib::close_enough(v_, w); }

Member Data Documentation

◆ v_

QuantLib::Real v_

Definition at line 38 of file optioninterpolator2d.hpp.