Skip to content

Commit 9fd4b48

Browse files
committed
Mention expand_log in the docstring of logcombine
The documentation of simplify module, http://docs.sympy.org/dev/modules/simplify/simplify.html mentions logcombine but not its opposite, expand_log. Often it's expand_log that one needs to simplify an expression with logarithms. Added a reference to expand_log to the "See Also" section of logcombine docstring.
1 parent 440d204 commit 9fd4b48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sympy/simplify/simplify.py

+2
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,8 @@ def logcombine(expr, force=False):
908908
See Also
909909
========
910910
posify: replace all symbols with symbols having positive assumptions
911+
sympy.core.function.expand_log: expand the logarithms of products
912+
and powers; the opposite of logcombine
911913
912914
"""
913915

0 commit comments

Comments
 (0)