[SciPy-user] Interpolation polynomials

Matthieu Brucher matthieu.brucher@gmail....
Tue Aug 21 08:05:39 CDT 2007

```Hi,

You can can create p+1 polynomials with the poly() function, and then scale
them by evaluating each of them at the remaining point.

Matthieu

2007/8/21, Neilen Marais <nmarais@sun.ac.za>:
>
> Hi,
>
> I'm looking for functions that evalue to the Lagrangian interpolation
> polynomials, i.e.
>
> L_i = \prod_{j=0..p, j!=i}(x-Xj)/(Xi-Xj)
>
> where Xi are the p+1 interpolation points. I.e., I'd like to pass in p+1
> interpolation points and get back p+1 polynomials L_i that are each zero
> at
> all interpolation points except Xi where the value is 1. Is there an easy
> way to construct these polynomials?
>
> Thanks
> Neilen
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070821/db8780b4/attachment.html
```