Skip to content

Commit

Permalink
Export new constructors for FittedBondDiscountCurve (#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio authored Dec 28, 2024
2 parents 3f1b8e5 + 19993f0 commit 17829e9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions SWIG/fittedbondcurve.i
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,17 @@ class FittedBondDiscountCurve : public YieldTermStructure {
Size maxEvaluations = 10000,
const Array &guess = Array(),
Real simplexLambda = 1.0);
FittedBondDiscountCurve(Natural settlementDays,
const Calendar& calendar,
const FittingMethod& fittingMethod,
const Array& parameters,
Date maxDate,
const DayCounter& dayCounter);
FittedBondDiscountCurve(const Date& referenceDate,
const FittingMethod& fittingMethod,
const Array& parameters,
Date maxDate,
const DayCounter& dayCounter);
const FittingMethod& fitResults() const;
void resetGuess(const Array& guess);
};
Expand Down

0 comments on commit 17829e9

Please sign in to comment.