denoms(e) returns the factors of the denominators of all
subexpressions of e, as SymPy's denoms(); with symbols only those
that contain one of them.
Examples
x <- Symbol("x")
denoms(1/x + 1/(x + 1))
#> [[1]]
#> x + 1
#>
#> [[2]]
#> x
#>
denoms(e) returns the factors of the denominators of all
subexpressions of e, as SymPy's denoms(); with symbols only those
that contain one of them.
x <- Symbol("x")
denoms(1/x + 1/(x + 1))
#> [[1]]
#> x + 1
#>
#> [[2]]
#> x
#>