Hi,
I do not see any simple way to do this in Sage at the moment. Following
this
post<https://doxdrum.wordpress.com/2011/01/23/sage-tip-rewriting-expressions/>,
a workaround is to use the extension rewrite() written by François Maltey
(see here <http://wiki.sagemath.org/symbolics/rewrite> for documentation
and here <http://wiki.sagemath.org/symbolics/rewrite?action=AttachFile> for
download). Then:
sage: %runfile rewrite-20110123.sage
sage: t=var('t', domain='real')
sage: s = log(cosh(t)+sinh(t))
sage: rewrite(s, 'sinhcosh2exp')
t
Eric.
--
You received this message because you are subscribed to the Google Groups
"sage-support" 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/sage-support.
For more options, visit https://groups.google.com/d/optout.