Version 4.0 - July 2025 (for NetLogo v7)
The NumAnal extension contains methods for finding the roots of single equations (Brent) and multivariable systems of equations (Newton and Broyden), for finding the minima of single equations (Brent) and multivariable functions (BOBYQA, CDS, CGS, CMAES, DES and Simplex), for finding fixed points (Scarf), and for evaluating definite integrals (Romberg).
To install this extension, simply put extensions [ numanal ] as the first line of your model code (or add numanal to the current extensions line) and NetLogo's Extension Manager should install it.
The documentation for the numanal extension is contained in the PDF file NumAnal-4.0.pdf and examples of its use are in the Examples directory. Both of these are in the numanal installation folder, which can generally be found in this subfolder relative to your home (user) directory:
On Mac OS X: Library/Application Support/NetLogo
On Windows: AppData\Roaming\NetLogo\7.0\extensions
On Linux: .netlogo
For more information, see https://ccl.northwestern.edu/netlogo/docs/extensions.html#where-extensions-are-located.
Java source files, a manifest and a makefile for those who want examine the code or modify the extension for their own purposes are available at https://github.com/cstaelin/NumAnal-Extension/releases.
Charles Staelin
Smith College
Northampton, MA 01063
Please visit the github issue tracker to submit comments, bug reports, or feature requests. I'm also more than willing to accept pull requests.
The NumAnal extension was written by Charles Staelin, but is based on several freely available numerical analysis libraries. See the documentation for full credits.
The NetLogo numanal extension is in the public domain. To the extent possible under law, Charles Staelin has waived all copyright and related or neighboring rights. However, note that the external libraries may be subject to other license terms. For more information please refer to the licence.md file accompanying this release.
