Jacobian - #2751
Open
kp9991-git wants to merge 29 commits into
Open
Jacobian#2751kp9991-git wants to merge 29 commits into
kp9991-git wants to merge 29 commits into
Conversation
# Conflicts: # test-suite/sofrfutures.cpp
…cross-curve Jacobians
# Conflicts: # test-suite/basisswapratehelpers.cpp
# Conflicts: # QuantLib.vcxproj # QuantLib.vcxproj.filters # ql/CMakeLists.txt # ql/experimental/termstructures/Makefile.am # ql/experimental/termstructures/all.hpp # test-suite/defaultprobabilitycurves.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the analytical Jacobian to QuantLib:
No existing behaviour changes. Without opt-in, everything works the same way as before. The diffs are minimal and most new code sits under "experimental". Very light changes to the existing code. All analytical calcs are tested against finite differences in unit tests.
The benefits to the user are significant. The global and multicurve bootstrapping is faster with the analytical derivatives but more importantly this enables very fast PV01 calculation through risk propagation rather than naive bumping of every pillar across all dependencies. The speedup is around 15 times in my tests for a simple trade with curve dependencies (it depends on the number of curves, complexity of the trades etc.)