Skip to content


Subversion checkout URL

You can clone with
Download ZIP
the matrix extension bundled with NetLogo
Java Makefile
Latest commit f3da5f6 @qiemem qiemem Fix tests

NetLogo matrix extension

This package contains the NetLogo matrix extension, which provides support for a new datatype (mathematical "matrix" objects) and associated operations (like matrix multiplication) in NetLogo.


The matrix extension is pre-installed in NetLogo. For instructions on using it in your model, or for more information about NetLogo extensions, see the NetLogo User Manual.


Run make.

If compilation succeeds, matrix.jar will be created.


The matrix extension was originally written by Forrest Stonedahl, with significant contributions from Charles Staelin (in particular, the forecast, regression and map primitives).

The matrix extension uses (and is distributed with) the Jama matrix library (Jama-1.0.3.jar,, which has been released into the public domain.

Terms of Use


The NetLogo matrix extension is in the public domain. To the extent possible under law, Uri Wilensky has waived all copyright and related or neighboring rights.

Something went wrong with that request. Please try again.