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 looked for  
>> such functions in Sage, but found none... Does it mean there is not  
>> already in Sage some function to compute it ( it would be a  
>> shame !!! ), or just that I once more failed to look for a functio  
>> properly ( and that would be a shame, too.... )
> 
> Are you thinking of Chebyshev polynomials? I don't think there is, but  
> there might be as part of scipy. I've got (two) implementations of  
> them that I haven't had time to put into Sage proper, but they're  
> pretty straightforward to implement.
> 

Sage also includes mpmath, which appears to have appropriate functions:

http://mpmath.googlecode.com/svn/trunk/doc/build/calculus/approximation.html

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to