Returns dy/dx (or the n-th derivative) for eq = 0 defining y as a
function of x, like SymPy's idiff().
Arguments
- eq
An expression equal to zero.
- y
The dependent symbol, or a list of symbols that depend on x (the first is differentiated).
- x
The independent symbol.
- n
Order of the derivative.
Examples
x <- Symbol("x"); y <- Symbol("y")
idiff(x^2 + y^2 - 4, y, x)
#> -x/y