Re: [Numpy-discussion] addition, multiplication of a polynomial and np.{float, int}

2012-03-15 Thread Pierre Haessig
Le 09/03/2012 23:57, Ralf Gommers a écrit : The buildbot doesn't check the doc build. I've edited a few of the links. Thanks for checking ! I had not realized that simply using the `numpy.package` notation was enough to get a link to the package. Best, Pierre signature.asc Description:

Re: [Numpy-discussion] addition, multiplication of a polynomial and np.{float, int}

2012-03-09 Thread Ralf Gommers
On Wed, Mar 7, 2012 at 11:02 PM, Pierre Haessig pierre.haes...@crans.orgwrote: Hi Charles, Le 07/03/2012 18:00, Charles R Harris a écrit : That's a good idea, I'll take care of it. Note the caveat about the coefficients going in the opposite direction. Great ! In the mean time I changed

Re: [Numpy-discussion] addition, multiplication of a polynomial and np.{float, int}

2012-03-09 Thread Charles R Harris
On Fri, Mar 9, 2012 at 3:57 PM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Wed, Mar 7, 2012 at 11:02 PM, Pierre Haessig pierre.haes...@crans.orgwrote: Hi Charles, Le 07/03/2012 18:00, Charles R Harris a écrit : That's a good idea, I'll take care of it. Note the caveat about the

Re: [Numpy-discussion] addition, multiplication of a polynomial and np.{float, int}

2012-03-07 Thread Pierre Haessig
Hi, Le 06/03/2012 22:19, Charles R Harris a écrit : Use polynomial.Polynomial and you won't have this problem. I was not familiar with the poly1d vs. Polynomial choice. Now, I found in the doc some more or less explicit guidelines in:

Re: [Numpy-discussion] addition, multiplication of a polynomial and np.{float, int}

2012-03-07 Thread Charles R Harris
On Wed, Mar 7, 2012 at 9:45 AM, Pierre Haessig pierre.haes...@crans.orgwrote: Hi, Le 06/03/2012 22:19, Charles R Harris a écrit : Use polynomial.Polynomial and you won't have this problem. I was not familiar with the poly1d vs. Polynomial choice. Now, I found in the doc some more or less

Re: [Numpy-discussion] addition, multiplication of a polynomial and np.{float, int}

2012-03-07 Thread Pierre Haessig
Hi Charles, Le 07/03/2012 18:00, Charles R Harris a écrit : That's a good idea, I'll take care of it. Note the caveat about the coefficients going in the opposite direction. Great ! In the mean time I changed a bit the root polynomials reference to emphasize the new Polynomial class.

[Numpy-discussion] addition, multiplication of a polynomial and np.{float, int}

2012-03-06 Thread Denis Laxalde
Hi, np.__version__ '1.7.0.dev-7c07089' p = np.poly1d([1,1]) p + 1.0 poly1d([ 1., 2.]) p + np.float64(1) poly1d([ 1., 2.]) np.float64(1.0) + p array([ 2., 2.]) np.int64(1) + p array([2, 2]) np.int(1) + p poly1d([1, 2])

Re: [Numpy-discussion] addition, multiplication of a polynomial and np.{float, int}

2012-03-06 Thread Charles R Harris
On Tue, Mar 6, 2012 at 2:03 PM, Denis Laxalde denis.laxa...@mcgill.cawrote: Hi, np.__version__ '1.7.0.dev-7c07089' p = np.poly1d([1,1]) p + 1.0 poly1d([ 1., 2.]) p + np.float64(1) poly1d([ 1., 2.]) np.float64(1.0) + p array([ 2., 2.]) np.int64(1)