[SciPy-user] question about scipy.polynomial.poly1d

Alan G Isaac aisaac at american.edu
Fri Dec 16 16:24:37 EST 2005


On Fri, 16 Dec 2005, Michael Blazej apparently wrote: 
> Is there a way to get different variables into poly1d such 
> as 'y' or 'lamda'. 

I think I don't understand your question.
I assume you are not just asking whether one can do this:

    >>> y=(3,1,2)
    >>> p=scipy.poly1d(y)
    >>> p
    poly1d([3, 1, 2])

I strongly recommend the SciPy book:
http://www.scipy.org/documentation/

hth,
Alan Isaac







More information about the SciPy-User mailing list