QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ConvexMonotone4MinHelper Class Reference

#include <convexmonotoneinterpolation.hpp>

+ Inheritance diagram for ConvexMonotone4MinHelper:
+ Collaboration diagram for ConvexMonotone4MinHelper:

Public Member Functions

 ConvexMonotone4MinHelper (Real xPrev, Real xNext, Real gPrev, Real gNext, Real fAverage, Real eta4, Real prevPrimitive)
 
Real value (Real x) const override
 
Real primitive (Real x) const override
 
- Public Member Functions inherited from ConvexMonotone4Helper
 ConvexMonotone4Helper (Real xPrev, Real xNext, Real gPrev, Real gNext, Real fAverage, Real eta4, Real prevPrimitive)
 
Real value (Real x) const override
 
Real primitive (Real x) const override
 
Real fNext () const override
 
- Public Member Functions inherited from SectionHelper
virtual ~SectionHelper ()=default
 
virtual Real value (Real x) const =0
 
virtual Real primitive (Real x) const =0
 
virtual Real fNext () const =0
 

Private Attributes

bool splitRegion_ = false
 
Real xRatio_
 
Real x2_
 
Real x3_
 

Additional Inherited Members

- Protected Attributes inherited from ConvexMonotone4Helper
Real xPrev_
 
Real xScaling_
 
Real gPrev_
 
Real gNext_
 
Real fAverage_
 
Real eta4_
 
Real prevPrimitive_
 
Real A_
 

Detailed Description

Definition at line 394 of file convexmonotoneinterpolation.hpp.

Constructor & Destructor Documentation

◆ ConvexMonotone4MinHelper()

ConvexMonotone4MinHelper ( Real  xPrev,
Real  xNext,
Real  gPrev,
Real  gNext,
Real  fAverage,
Real  eta4,
Real  prevPrimitive 
)

Definition at line 396 of file convexmonotoneinterpolation.hpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ value()

Real value ( Real  x) const
overridevirtual

Reimplemented from ConvexMonotone4Helper.

Definition at line 422 of file convexmonotoneinterpolation.hpp.

+ Here is the call graph for this function:

◆ primitive()

Real primitive ( Real  x) const
overridevirtual

Reimplemented from ConvexMonotone4Helper.

Definition at line 438 of file convexmonotoneinterpolation.hpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ splitRegion_

bool splitRegion_ = false
private

Definition at line 459 of file convexmonotoneinterpolation.hpp.

◆ xRatio_

Real xRatio_
private

Definition at line 460 of file convexmonotoneinterpolation.hpp.

◆ x2_

Real x2_
private

Definition at line 460 of file convexmonotoneinterpolation.hpp.

◆ x3_

Real x3_
private

Definition at line 460 of file convexmonotoneinterpolation.hpp.