Status: Accepted
Owner: hazelnusse
Labels: Type-Defect Priority-Medium NeedsReview

New issue 1475 by hazelnusse: New implementation of .eval in trigonometric  
functions, implementing sec, csc
http://code.google.com/p/sympy/issues/detail?id=1475

I have been working on getting all of the trig functions in Sympy to behave
as they do in Mathematica.  Additionally, I will be implementing sec() and
csc(), which currently do not exist.

There seems to be a lot of code that isn't tested for, and just looks
wrong, such as:
[code]
     def _eval_rewrite_as_sin(self, arg):
         return 2*sin(x)**2/sin(2*x)

     def _eval_rewrite_as_cos(self, arg):
         return -cos(x + S.Pi/2)/cos(x)
[/code]

So I will be doing some general clean up of this sort of thing, and writing
tests, etc.

My git repository for this is:
git://github.com/hazelnusse/sympy.git

You should be able to do:
git clone git://github.com/hazelnusse/sympy.git

then:
git co origin/branch

If anybody can see major code overlap please let me know, especially if you
are familiar with the other functionality that already exists in the .eval
method of each of the existing trig functions.

~Luke




--
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 sympy-issues@googlegroups.com
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to