(expr, var)
| 186 | return rts |
| 187 | |
| 188 | def _symRoots(expr, var): |
| 189 | expr = assumeRealParams(expr) |
| 190 | polyExpr = sp.poly(expr, var) |
| 191 | rootDict = sp.roots(polyExpr) |
| 192 | rts = [] |
| 193 | for rt in rootDict.keys(): |
| 194 | for i in range(rootDict[rt]): |
| 195 | rts.append(clearAssumptions(rt)) |
| 196 | return rts |
| 197 | |
| 198 | def _numRoots(expr, var): |
| 199 | """ |
no test coverage detected