Skip to contents

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.

Usage

denoms(e, ...)

Arguments

e

An expression.

...

Symbols.

Value

A list of expressions.

Examples

x <- Symbol("x")
denoms(1/x + 1/(x + 1))
#> [[1]]
#> x + 1
#> 
#> [[2]]
#> x
#>