Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Implement Polygamma #3

Closed
2 tasks done
betanalpha opened this issue Jul 2, 2014 · 1 comment
Closed
2 tasks done

Implement Polygamma #3

betanalpha opened this issue Jul 2, 2014 · 1 comment
Assignees

Comments

@betanalpha
Copy link
Contributor

Need the polygamma function in order to compute derivatives of the gamma function and its derivatives. Should be able to produce a reasonable implementation by leveraging the generic recursion relation to transform the domain to (0, 1) and expand the polygamma around 0. Bonus points for going the other way and using the asymptotic expansion for large arguments.

With a polygamma implementation we can then implement the last cmath functions,
http://www.cplusplus.com/reference/cmath/

  • tgamma
  • lgamma
@betanalpha betanalpha self-assigned this Jul 2, 2014
@betanalpha
Copy link
Contributor Author

Implemented in Commit 345f6da, quadgamma may cause problems for small arguments.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant