[sage-support] Re: Polynomial approximation of a function

2009-11-02 Thread Nathann Cohen
Thank you for your answers !! I was thinking about some multidimensional linear approximation, where the basis you use is ( for points of coordinates (x_i, y_i ) ) the vectors The family of x_i, x_i The family of x_i, x_i^2 The family of x_i, x_i^3 The family of x_i, x_i^4 ... But it turns out S

[sage-support] Re: Polynomial approximation of a function

2009-11-02 Thread Jason Grout
Robert Bradshaw wrote: > On Nov 2, 2009, at 8:41 AM, Nathann Cohen wrote: > >> Hello !!! >> >> I remember there is an easy way ( through matrices ) to get the >> "best" approximation of a function by a polynomial of bounded degree >> ( and not only the usual approximation by a line ) I lo

[sage-support] Re: Polynomial approximation of a function

2009-11-02 Thread Robert Bradshaw
On Nov 2, 2009, at 8:41 AM, Nathann Cohen wrote: > Hello !!! > > I remember there is an easy way ( through matrices ) to get the > "best" approximation of a function by a polynomial of bounded degree > ( and not only the usual approximation by a line ) I looked for > such functions in S

[sage-support] Re: Polynomial approximation of a function

2009-11-02 Thread Laurent
Nathalie Cohen ha scritto: > Hello !!! > > I remember there is an easy way ( through matrices ) to get the "best" > approximation of a function by a polynomial of bounded degree ( and not only > the usual approximation by a line ) Are you speaking about the Taylor expansion ? If so, it is impl