[SciPy-user] Fitting a polynomial to data

Robert Kern rkern at ucsd.edu
Thu Jun 30 16:32:17 CDT 2005

Alan G Isaac wrote:
> On Thu, 30 Jun 2005, Fernando Perez apparently wrote: 
>>p = (XT*X)^-1 * XT * y 
> Which is of course the ordinary least squares solution.
> I note this only because the discussion seemed to
> suggest that something special about polynomials was
> about to be exploited in producing the solution,
> but that something seems only to be the automatic
> production of the data matrix (and not any subsequent
> computations). Correct?


Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter

More information about the SciPy-user mailing list