Skip to content

Commit

Permalink
[math] Support AD for TMath::LnGamma using functions from GSL
Browse files Browse the repository at this point in the history
This is to avoid any num-diff fallback in RooFit, which results in
annoying warnings for the user.

A new function `ROOT::Math::digamma` is added to the public interface,
which wraps `gsl_sf_psi`. The digamma function is the derivative of
`lgamma`, so it is used in `CladDerivator.h` to define the derivatives
of `TMath::LnGamma` and the related gamma funcitons that are used to
define Poisson cdfs.
  • Loading branch information
guitargeek committed Oct 28, 2024
1 parent d75eeb8 commit 47b6ce6
Show file tree
Hide file tree
Showing 5 changed files with 518 additions and 7 deletions.
Loading

0 comments on commit 47b6ce6

Please sign in to comment.