R/simplify.R
expand_log.Rd
Note that force as described at https://docs.sympy.org/latest/tutorial/simplification.html#expand-log is used meaning that some assumptions are taken.
force
expand_log(x)
A caracas_symbol
caracas_symbol
if (has_sympy()) { x <- symbol('x') y <- symbol('y') z <- log(x*y) z expand_log(z) } #> c: log(x) + log(y)