I think evaluation is pretty straightforward. You just evaluate one
(like sin), and then the rest are easily defined in terms of it. I
like your approach.

But what about the other things, like the series expansion or meijerg
table entries? And probably the biggest are the simplification rules
(e.g., for the Fu algorithm). And can we somehow get basically all of
the hyperbolic functions automatically from
http://mathworld.wolfram.com/OsbornesRule.html?

I wouldn't block on this, though. If you want to add a missing
function or functionality, you can just do it the duplicating way, and
we can figure out how to remove the duplication later. Just make sure
the tests verify the mathematical correctness of the functions.

Aaron Meurer

On Wed, Mar 19, 2014 at 3:34 PM, Ondřej Čertík <[email protected]> wrote:
> On Wed, Mar 19, 2014 at 12:59 PM, Aaron Meurer <[email protected]> wrote:
>> And everything should work with them, if possible (rewrites,
>> evaluation, series expansion, simplification). Most of it is easy, you
>> just need to understand the math and the basic way that you write down
>> the rules in SymPy. It would be nice if we could figure out some way
>> to reduce duplication when writing down the trig functions, though.
>
> For the sin/cos/tan, there is super nice way to unify the
> simiplification, see this file:
>
> https://github.com/certik/sympy/blob/trig/t.py
>
> and I suspect there might be something similar for other functions.
>
> Ondrej
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/CADDwiVB2b0bLTiB8%3DWB%2BW0VnbgtFcsitTZRYYhH%2B_2YXVrXk%3Dg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6KwMEfRDAtwsu12vm%3DDWPRL55qtJWHL0-iGtWgo1J6UHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to