On Wed, Apr 22, 2009 at 3:59 PM, Tim Lahey <tim.la...@gmail.com> wrote:
>
> On Wed, Apr 22, 2009 at 6:54 PM, Carl Witty <carl.wi...@gmail.com> wrote:
>>
>>
>> Would it be better to test the results numerically?  (For instance,
>> evaluate the integral returned and the desired result at 100 random
>> points to high precision, and ensure that the relative error between
>> the answers at each point is small.)
>
>
> How can one do that with symbolic variables? Most of the test integrals
> have symbolic constants (w.r.t the integration) so it isn't just the
> integration
> variable. I thought about numerical testing, but it isn't generally feasible.

Couldn't you just pick random values for all of the symbolic constants, as well?

Carl

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to