Changes between Initial Version and Version 1 of Ticket #8321, comment 4
- Timestamp:
- Sep 6, 2020, 10:14:34 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8321, comment 4
initial v1 1 1 I think I have the solution for this trac with mpmath: 2 2 3 {{ 3 {{{ 4 4 def _evalf_(self, f, x, a, b, parent = None): 5 5 """ … … 46 46 47 47 return mpmath.call(mpmath.quad,mp_f,[a,b]) 48 }} 48 }}} 49 49 50 50 The tests just run fine: 51 {{ 51 {{{ 52 52 sage: sage: sage: from sage.symbolic.integration.integral import definite_integral 53 53 sage: sage: h = definite_integral(sin(x)/x^2, x, 1, 2); h … … 59 59 sage: h.n(100) 60 60 0.47239917726895251999041133798 61 }} 61 }}} 62 62 63 63 greez maldun