[SciPy-dev] Using doctest

David M. Cooke cookedm at physics.mcmaster.ca
Sun Oct 30 17:02:41 CST 2005


On Oct 30, 2005, at 17:37, David M. Cooke wrote:

> On Oct 30, 2005, at 11:14, Travis Oliphant wrote:
>>
>> newcore should be installable, but there can be a few functions that
>> require other scipy packages.  This is the appropriate way to
>> handle it,
>> I think.
>>
>> The test for deconvolve should be moved over to scipy.signal or
>> else an
>> appropriate try block used.
>>
>
> It's not the test for deconvolve (didn't add one). It's the test for
> polynomial division. I'll have a look at not using deconvolve for
> division.

And done. It uses synthetic division now. It could be more efficient:  
the quotient is built up as a list, for instance, but it passes the  
test.

-- 
|>|\/|<
/------------------------------------------------------------------\
|David M. Cooke              http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca




More information about the Scipy-dev mailing list