Closed fchapoton closed 3 years ago
Branch: u/chapoton/31853
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
7a6a6bf | convert polygamma to fricas |
Could you add polygamma, too, and also include a test along the following lines to make sure that the functions really are the same (unfortunately, both fricas and sage have gaps in the implementation, in different aspects)?
sage: fricas.digamma(1.0)
- 0.5772156649_0153286061
sage: psi(1.0)
-0.577215664901533
sage: fricas.polygamma(1, 1.0)
1.6449340668482269
sage: psi(1, 1.0)
psi(1, 1.00000000000000)
sage: psi(1, 1)
1/6*pi^2
sage: psi(1, 1).n()
1.64493406684823
This might fit with the test in lines 1465-- in fricas.py
.
Branch pushed to git repo; I updated commit sha1. New commits:
8c36359 | add doctests for fricas digamma and polygamma |
polygamma is added already. Did you mean something else ?
I have added your suggested doctests.
Changed branch from u/chapoton/31853 to u/mantepse/31853
Changed branch from u/mantepse/31853 to u/chapoton/31853
Oh, sorry, I overlooked this. I noticed that we can also should translate euler_gamma
, I took the liberty to add this, too. If you are happy with this, please set the ticket to positive review on my behalf.
Changed branch from u/chapoton/31853 to u/mantepse/31853
Description changed:
---
+++
@@ -1 +1,4 @@
+Related:
+- #31858: Fix translation of univariate Gamma from FriCAS
+- #25597: Translate bivariate Gamma from FriCAS
Reviewer: Martin Rubey
ok, looks good. Can we set to positive ?
Changed reviewer from Martin Rubey to Martin Rubey, Frédéric Chapoton
Could you check https://github.com/sagemath/sage-prod/issues/31849, too?
I also fixed #28647 now. I'd be very grateful for a review, so things don't break again.
Changed branch from u/mantepse/31853 to c77da15
Related:
31858: Fix translation of univariate Gamma from FriCAS
25597: Translate bivariate Gamma from FriCAS
CC: @mantepse @slel
Component: interfaces: optional
Keywords: fricas
Author: Frédéric Chapoton
Branch/Commit:
c77da15
Reviewer: Martin Rubey, Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/31853