[Numpy-discussion] ANN: PyCPX 0.02, a numpy/cython wrapper for CPlex

2011-12-12 Thread Hoyt Koepke
Hello, I'm pleased to announce the second release of the PyCPX wrapper for IBM's CPlex Optimizer Suite. This second release fixes several bugs and vastly optimizes the model construction stage, particularly for large models. PyCPX is a python wrapper for the CPlex optimization suite that focuses

Re: [Numpy-discussion] trouble building numpy 1.6.1 on Scientific Linux 5

2011-12-12 Thread Olivier Delalleau
2011/12/12 Russell E. Owen > In article > , > Ralf Gommers wrote: > > > On Fri, Dec 9, 2011 at 8:02 PM, Russell E. Owen wrote: > > > > > I'm trying to build numpy 1.6.1 on Scientific Linux 5 but the unit > tests > > > claim the wrong version of fortran was used. I thought I knew how to > > > a

Re: [Numpy-discussion] trouble building numpy 1.6.1 on Scientific Linux 5

2011-12-12 Thread Russell E. Owen
In article , Ralf Gommers wrote: > On Fri, Dec 9, 2011 at 8:02 PM, Russell E. Owen wrote: > > > I'm trying to build numpy 1.6.1 on Scientific Linux 5 but the unit tests > > claim the wrong version of fortran was used. I thought I knew how to > > avoid that, but it's not working. > > > >...(el

Re: [Numpy-discussion] polynomial with negative exponents

2011-12-12 Thread Charles R Harris
On Mon, Dec 12, 2011 at 10:17 AM, Gregor Thalhammer < gregor.thalham...@gmail.com> wrote: > > Am 12.12.2011 um 15:04 schrieb LASAGNA DAVIDE: > > > Hi, > > > > I have written a class for polynomials with negative > > exponents like: > > > > p(x) = a0 + a1*x**-1 + ... + an*x**-n > > > > The code is

Re: [Numpy-discussion] Fast Reading of ASCII files

2011-12-12 Thread Warren Weckesser
On Mon, Dec 12, 2011 at 10:22 AM, Chris.Barker wrote: > On 12/11/11 8:40 AM, Ralf Gommers wrote: > > On Wed, Dec 7, 2011 at 7:50 PM, Chris.Barker > * If we have a good, fast ascii (or unicode?) to array reader, > hopefully > > it could be leveraged for use in the more complex cases. So th

Re: [Numpy-discussion] Fast Reading of ASCII files

2011-12-12 Thread Chris.Barker
On 12/11/11 8:40 AM, Ralf Gommers wrote: > On Wed, Dec 7, 2011 at 7:50 PM, Chris.Barker * If we have a good, fast ascii (or unicode?) to array reader, hopefully > it could be leveraged for use in the more complex cases. So that rather > than genfromtxt() being written from scratch, it

Re: [Numpy-discussion] polynomial with negative exponents

2011-12-12 Thread Gregor Thalhammer
Am 12.12.2011 um 15:04 schrieb LASAGNA DAVIDE: > Hi, > > I have written a class for polynomials with negative > exponents like: > > p(x) = a0 + a1*x**-1 + ... + an*x**-n > > The code is this one: > > class NegativeExpPolynomial( object ): > def __init__ ( self, coeffs ): > self

Re: [Numpy-discussion] polynomial with negative exponents

2011-12-12 Thread josef . pktd
On Mon, Dec 12, 2011 at 9:35 AM, wrote: > On Mon, Dec 12, 2011 at 9:04 AM, LASAGNA DAVIDE > wrote: >> Hi, >> >> I have written a class for polynomials with negative >> exponents like: >> >> p(x) = a0 + a1*x**-1 + ... + an*x**-n >> >> The code is this one: >> >> class NegativeExpPolynomial( objec

Re: [Numpy-discussion] polynomial with negative exponents

2011-12-12 Thread josef . pktd
On Mon, Dec 12, 2011 at 9:04 AM, LASAGNA DAVIDE wrote: > Hi, > > I have written a class for polynomials with negative > exponents like: > > p(x) = a0 + a1*x**-1 + ... + an*x**-n > > The code is this one: > > class NegativeExpPolynomial( object ): >      def __init__ ( self, coeffs ): >          se

[Numpy-discussion] polynomial with negative exponents

2011-12-12 Thread LASAGNA DAVIDE
Hi, I have written a class for polynomials with negative exponents like: p(x) = a0 + a1*x**-1 + ... + an*x**-n The code is this one: class NegativeExpPolynomial( object ): def __init__ ( self, coeffs ): self.coeffs = np.array( coeffs ) def __call__( self, x ):