[SciPy-User] Is there anything like polyval2?

Joseph Smidt josephsmidt at gmail.com
Fri May 6 11:56:24 EDT 2011


Hi,

   Matlab has a function called polyval2 that evaluates a 2D
polynomial from a a least-squares fit of 2D data:
http://www.mathworks.com/matlabcentral/fx_files/13719/1/content/polyfitweighted2/publishpolyfitweighted2.html

    Does numpy or scipy have anything like this?  Can it be done with
existing routines in a straight forward way?  I only see poly1d for
one-dimensional polynomials.

   Thanks.

-- 
------------------------------------------------------------------------
Joseph Smidt <josephsmidt at gmail.com>

Physics and Astronomy
2165 Frederick Reines Hall
Irvine, CA 92697-4575
Office: 949-824-9025



More information about the SciPy-User mailing list