Comment #2 on issue 2239 by [email protected]: Change ratint to give an answer as hyperbolic functions instead of logs.
http://code.google.com/p/sympy/issues/detail?id=2239

Sure it is possible to combine (1/2)log(x+1)-(1/2)log(x-1)=atanh(x)
so if you have any algebraic substitution and simplification algorithm it can be done.

Can you give an example that combine logs to atan? (I can't imagine one without complex number) It will help a lot.

But I propose to modify existing algorithm to return atanh as it is, without getting logs first. It is not hard to me so I will do it if you don't mind.

The main profit - we can use simple substitution (not algebraic one) to convert hyperbolic to log.

Too many programs, to many notations, all I write here can be thought as general math, not sympy code. But thank you for correction anyway.

--
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