Examples¶
The package ships runnable example scripts in examples/ and generated
visual outputs in test_output/ as SVG files.
This page is an overview. Detailed inputs, outputs, and figures are split by example family in the pages linked below.
Run examples from the package root:
python examples/example_imsl_zplrc.py
python examples/example_imsl_zuni.py
python examples/example_imsl_neqnf.py
python examples/example_imsl_neqnj.py
python examples/example_imsl_zbren.py
python examples/example_imsl_fixed_point.py
python examples/example_imsl_poly_roots_complex.py
python examples/example_imsl_broyden.py
python examples/example_imsl_zeros_search.py
Regenerate the documentation figures by rerunning the relevant examples from the
package root. Each script updates one or more SVG files in test_output/.
Example Script Map¶
Script |
Primary topic |
Generated SVG outputs |
|---|---|---|
|
Polynomial roots eigenvalue (ZPLRC) |
|
|
Univariate zero-finding (ZUNI) |
|
|
Nonlinear system FD Jacobian (NEQNF) |
|
|
Nonlinear system analytic Jacobian (NEQNJ) |
|
|
Brent’s method scalar root-finding (ZBREN) |
|
|
Fixed-point iteration cobweb (ZUNI) |
|
|
Complex polynomial roots (ZPOCC) |
|
|
Broyden quasi-Newton NEQBF/NEQBJ |
|
|
Jenkins-Traub/ZREAL/ZANLY zeros search |
|
Detailed pages by family:
- ZPLRC Example — Polynomial Root-Finding
- ZUNI Example — Univariate Zero-Finding
- NEQNF Example — Nonlinear System Solver
- NEQNJ Example — Nonlinear System with Analytic Jacobian
- ZBREN Example — Brent’s Method for Scalar Root Finding
- Fixed-Point Iteration Example — Cobweb Diagram
- ZPOCC Example — Complex Polynomial Roots
- Broyden Quasi-Newton Examples — NEQBF and NEQBJ
- Zeros-Search Examples — ZPORC, ZREAL, and ZANLY