Run an example 'Polynomials: Root limits'.
()
| 321 | |
| 322 | @print_docstring |
| 323 | def example_polynomial_root_limits(): |
| 324 | """Run an example 'Polynomials: Root limits'.""" |
| 325 | c = np.array([1, 2, -13, -14, 24]) |
| 326 | |
| 327 | print("Inputs:") |
| 328 | print(f"c = {c}") |
| 329 | |
| 330 | root_limits = polynomials.root_limits(c) |
| 331 | |
| 332 | print("Output:") |
| 333 | print(f"limits = {root_limits}") |
| 334 | |
| 335 | |
| 336 | @print_docstring |