Re: [Numpy-discussion] poly1d with complex coefficients doesn't integrate

2008-10-27 Thread Robert Kern
On Mon, Oct 27, 2008 at 15:07, Mark Bakker <[EMAIL PROTECTED]> wrote: > I seem to be able to create a poly1d instance with complex coefficients, and > it works correctly. But I cannot integrate it. Does poly1d not support > complex coefficients? Any reason why not, that shouldn't be too difficult,

[Numpy-discussion] poly1d with complex coefficients doesn't integrate

2008-10-27 Thread Mark Bakker
I seem to be able to create a poly1d instance with complex coefficients, and it works correctly. But I cannot integrate it. Does poly1d not support complex coefficients? Any reason why not, that shouldn't be too difficult, should it? Thanks, Mark >>> p = poly1d([1+1j,2+2j]) >>> p(2) (4+4j) >>> q=p