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

example_imsl_zplrc.py

Polynomial roots eigenvalue (ZPLRC)

demo_imsl_zplrc.svg

example_imsl_zuni.py

Univariate zero-finding (ZUNI)

demo_imsl_zuni.svg

example_imsl_neqnf.py

Nonlinear system FD Jacobian (NEQNF)

demo_imsl_neqnf.svg

example_imsl_neqnj.py

Nonlinear system analytic Jacobian (NEQNJ)

example_imsl_neqnj.svg

example_imsl_zbren.py

Brent’s method scalar root-finding (ZBREN)

example_imsl_zbren.svg

example_imsl_fixed_point.py

Fixed-point iteration cobweb (ZUNI)

example_imsl_fixed_point.svg

example_imsl_poly_roots_complex.py

Complex polynomial roots (ZPOCC)

example_imsl_poly_roots_complex.svg

example_imsl_broyden.py

Broyden quasi-Newton NEQBF/NEQBJ

example_imsl_broyden.svg

example_imsl_zeros_search.py

Jenkins-Traub/ZREAL/ZANLY zeros search

example_imsl_zeros_search.svg

Detailed pages by family: