Commit 39dc575
First cut at Hypergeometric2F1 and some other Hypergeometric function revisions (#1431)
In addition to adding Hypergeometric2F1, we start moving code to `mathics.eval.specialfns.hypergeom`
Fixes #1187
Most of the eval functions have been moved out of `mathics.builtin.specialfns.hypergeom`. And in the process, we expand hyper results to match what WMA does more closely. Some prior erroneous evaluation was therefore corrected.
However, this PR is already large, so Hypergeometric2U will be handled separately.
Moving eval code for `MeijerG`, was attempted, but that causes a weird interaction with `test/doc/doc_common.py`, which somehow makes it think that hypergeom is included more than once.
---------
Co-authored-by: Aravindh Krishnamoorthy <aravindh.krishnamoorthy@fau.de>1 parent 9e3ec3b commit 39dc575
File tree
6 files changed
+507
-124
lines changed- mathics
- builtin
- specialfns
- core
- eval/specialfns
- test/builtin/specialfns
6 files changed
+507
-124
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
20 | 34 | | |
21 | 35 | | |
22 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
| |||
0 commit comments