Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1383 by zorg724: ERROR  in to Chebyshev approximation  
documentation
http://code.google.com/p/sympy/issues/detail?id=1383

(http://docs.sympy.org/modules/mpmath/interpolation.html)
>>> mpmath.__version__
'0.10'
>>> poly, err = chebyfit(cos, 1, 2, 5, error=True)
Traceback (most recent call last):
   File "<interactive input>", line 1, in <module>
TypeError: chebyfit() got multiple values for keyword argument 'error'


Correct :
>>> poly, err = chebyfit(cos, interval = [1, 2], N=5, error=True)
>>> poly
([mpf('0.0029168181981614574'),
   mpf('0.14616602398477838'),
   mpf('-0.7324908462494159'),
   mpf('0.17414099347546205'),
   mpf('0.9495533924388762')],

>>> err
mpf('1.6135175808121293e-5')



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to