C# Class HullAndWhiteOneFactor.CapsHW1OptimizationProblem

Implementation of HW1 Calibration Problem (Caps matrix based).
Inheritance: IOptimizationProblem
显示文件 Open project: fairmat/InterestRatesModels Class Usage Examples

Public Methods

Method 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 caps and hw caps.

Private Methods

Method Description
CapsHW1OptimizationProblem ( CapHW1 hw1Caps, System.Matrix blackCaps, Vector capMaturity, Vector capRate, double deltaK ) : System

Constructor for the HW1 Calibration Problem based on caps matrices.

Method Details

G() public method

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

Grad() public method

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

Obj() public method

Calibration objective function: squared difference between black caps and hw caps.
public Obj ( DVPLI x ) : double
x DVPLI /// The tested [alpha, sigma] vector. ///
return double