Repository navigation
·
2 commits
to main
since this release
What's New
New math functions
tgammaandlgammafor XAD types, with first- and higher-order derivatives, andxad::digammafordouble,floatand XAD typesrint,nearbyint,lrint,llrint,logb,scalblnandfdimfor XAD types and expressions, tested in first and second order, forward and adjoint mode- C++20
std::formatsupport forARealandFReal, when the standard library provides it
New samples
- Black-Scholes Greeks in forward and adjoint mode
- Implied volatility sensitivities via the implicit function theorem
- Cross-gamma matrix of a basket option in forward over adjoint mode
- Multi-threaded Monte Carlo basket with one tape per thread
- Heat equation gradient with checkpointing
- American put on a PDE grid with an external-function tridiagonal solve
- Heston model calibration with an adjoint-mode Jacobian
Graph recording
- CMake option
XAD_ENABLE_GRAPH(off by default) builds and installs graph recording; the new math functions can be recorded in a graph too - Graph replay of
pow(x, y)now gives the same exponent derivative as the tape for a zero, negative or NaN base
See the CHANGELOG for the full list.
If XAD helps you, a GitHub star helps others find it