Changes between Initial Version and Version 1 of Ticket #8321, comment 4


Ignore:
Timestamp:
Sep 6, 2020, 10:14:34 AM (2 years ago)
Author:
Samuel Lelièvre
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8321, comment 4

    initial v1  
    11I think I have the solution for this trac with mpmath:
    22
    3 {{
     3{{{
    44def _evalf_(self, f, x, a, b, parent = None):
    55        """
     
    4646
    4747        return mpmath.call(mpmath.quad,mp_f,[a,b])
    48 }}
     48}}}
    4949
    5050The tests just run fine:
    51 {{
     51{{{
    5252sage: sage: sage: from sage.symbolic.integration.integral import definite_integral
    5353sage: sage: h = definite_integral(sin(x)/x^2, x, 1, 2); h
     
    5959sage: h.n(100)
    60600.47239917726895251999041133798
    61 }}
     61}}}
    6262
    6363greez maldun