lcapy.ratfun.roots

lcapy.ratfun.roots(expr, var, numerical=None)

Return roots of expression expr for variable var.

If numerical is True, compute the zeros numerically if there are no free symbols in the expression apart from var.