marian::SpotRelatedRange Class Reference
  Approximate the boundary condition basing on asset spot price. More...
#include <spotRelatedRange.hpp>
Inheritance diagram for marian::SpotRelatedRange:
  
 Public Member Functions | |
| SpotRelatedRange () | |
| Defualt constructor.  More... | |
| SpotRelatedRange (double low, double up) | |
| Constructor.  More... | |
| double | getUpperBound (Market mkt, SmartPointer< Option >) const override | 
| returns upper boundary value  More... | |
| double | getLowerBound (Market mkt, SmartPointer< Option >) const override | 
| returns lower boundary value  More... | |
| virtual | ~SpotRelatedRange () | 
| Destructor.  | |
  Public Member Functions inherited from marian::DCRangeSetup< SpotRelatedRange > | |
| virtual RangeSetup * | clone () const | 
| Virtual copy constructor.  | |
  Public Member Functions inherited from marian::RangeSetup | |
| virtual | ~RangeSetup () | 
| Destructor.  | |
Private Attributes | |
| double | low_ | 
| Multiplier for lower boundary.  | |
| double | up_ | 
| Multiplier for upper boundary.  | |
Detailed Description
For some options the boundary conditions need to be set in the infinity. When we use numerical routines we must approximate this conditions with finite values. Using this class the spot range is set relatively to the spot price. When object of this class is constructed, the two multipliers low and upp are used. The lower boundary is approximated 
. The upper boundary is approximated 
. 
- Examples:
 - convergenceExample.cpp, and EuroOptExample.cpp.
 
Constructor & Destructor Documentation
      
  | 
  inline | 
Sets low to 0.5 and up to 2.0 by default
      
  | 
  inline | 
- Parameters
 - 
  
low Multiplier for lower boundary up Multiplier for upper boundary  
Member Function Documentation
      
  | 
  inlineoverridevirtual | 
- Returns
 - Spot multiplied by lower boundary multiplier
 
Implements marian::RangeSetup.
      
  | 
  inlineoverridevirtual | 
- Returns
 - Spot multiplied by upper boundary multiplier
 
Implements marian::RangeSetup.
The documentation for this class was generated from the following file:
- C:/Unix/home/OEM/fdm/src/financial/gridRange/spotRelatedRange.hpp
 
          
          
 Public Member Functions inherited from 
 1.8.11