C# Class HullAndWhiteOneFactor.SwaptionHW1OptimizationProblem

Implementation of HW1 Calibration Problem (Swaption matrix based).
Inheritance: IOptimizationProblem
Afficher le fichier Open project: fairmat/InterestRatesModels Class Usage Examples

Méthodes publiques

Méthode Description
G ( DVPLI x ) : DVPLI.Vector

This method is unused but part of the interface.

Grad ( DVPLI x ) : DVPLI.Vector

This method is unused but part of the interface.

Obj ( DVPLI x ) : double

Calibration objective function: squared difference between black swaptions and HW swaptions.

Private Methods

Méthode Description
SwaptionHW1OptimizationProblem ( SwaptionHW1 shw1, System.Matrix blackSwaption, Vector swaptionMaturity, Vector swapDuration, double deltaK ) : System

Constructor for the HW1 Calibration Problem based on swaption matrices.

Method Details

G() public méthode

This method is unused but part of the interface.
public G ( DVPLI x ) : DVPLI.Vector
x DVPLI The parameter is not used.
Résultat DVPLI.Vector

Grad() public méthode

This method is unused but part of the interface.
public Grad ( DVPLI x ) : DVPLI.Vector
x DVPLI The parameter is not used.
Résultat DVPLI.Vector

Obj() public méthode

Calibration objective function: squared difference between black swaptions and HW swaptions.
public Obj ( DVPLI x ) : double
x DVPLI /// The tested [alpha, sigma] vector. ///
Résultat double