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
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
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
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
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 ):