-
-
Notifications
You must be signed in to change notification settings - Fork 673
Closed
Description
Currently there is no direct way in Sage to apply the transformation:
log(x) + log(y) -> log(x*y)
The attached patch fixes this by inserting a call to logcontract()
in the definition of simplify_radical.
Now the following works:
sage: f = log(sqrt(2) - 1) + log(sqrt(2) + 1)
sage: f.simplify_full()
0
But I'm not sure if this is the right place for this.
CC: @sagetrac-fmaltey
Component: calculus
Keywords: logarithm
Author: Robert Mařík
Reviewer: Karl-Dieter Crisman
Merged: sage-4.3.3.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/7334