Opened 11 years ago
Last modified 6 weeks ago
#13050 new enhancement
allow different algorithms for evaluating erf
Reported by: | benjaminfjones | Owned by: | burcin |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | symbolics | Keywords: | sd40.5 mpmath pari erf |
Cc: | dsm, kcrisman | Merged in: | |
Authors: | Benjamin Jones | Reviewers: | |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | #12289 | Stopgaps: |
Description (last modified by )
In #1173 an mpmath numerical evaluator for erf
was written by Douglas McNeil. This ticket proposes to save that code, incorporate it with the ability to pass an algorithm
parameter to numerical_approx
from #12289. We could support Pari, mpmath, and Maxima.
It would even be useful to see where Pari is faster.
Attachments (1)
Change History (11)
Changed 11 years ago by
Attachment: | trac_13050_erf_mpmath_eval.patch added |
---|
comment:1 Changed 11 years ago by
Dependencies: | 12289 → #12289 |
---|
comment:2 Changed 11 years ago by
comment:4 Changed 11 years ago by
comment:5 Changed 10 years ago by
Description: | modified (diff) |
---|---|
Summary: | change default numerical evaluation of `erf` to use mpmath → allow different algorithms for evaluating erf |
I think that we can repurpose this ticket to adding the algorithm keyword here. Some good examples from #1173 (most were added in #13001):
Verify we're returning the appropriate zero:: sage: erf(0) 0 sage: erf(0.0) 0.000000000000000 sage: erf(RealField(100)(0)) 0.00000000000000000000000000000
set(erf(45*10**i).n() for i in range(10))
sage: CC(erf(ComplexField(1000)(2+3j)))
comment:6 Changed 9 years ago by
Milestone: | sage-5.11 → sage-5.12 |
---|
comment:7 Changed 9 years ago by
Milestone: | sage-6.1 → sage-6.2 |
---|
comment:8 Changed 9 years ago by
Milestone: | sage-6.2 → sage-6.3 |
---|
comment:9 Changed 8 years ago by
Milestone: | sage-6.3 → sage-6.4 |
---|
comment:10 Changed 6 weeks ago by
Milestone: | sage-6.4 |
---|
Note: See
TracTickets for help on using
tickets.
add mpmath evaluation to erf