Learn R Programming

caracas (version 1.0.1)

expand_log: Expand a logarithmic expression

Description

Note that force as described at https://docs.sympy.org/latest/tutorial/simplification.html#expand-log is used meaning that some assumptions are taken.

Usage

expand_log(x)

Arguments

x

A caracas_symbol

Examples

Run this code
# NOT RUN {
if (have_sympy()) {
  x <- symbol('x')
  y <- symbol('y')
  z <- log(x*y)
  z
  expand_log(z)
}

# }

Run the code above in your browser using DataLab