Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
the matrix extension bundled with NetLogo
Failed to load latest commit information.
src Abstract out variadic and infix operators to super class to reduce bo…
.gitignore update .gitignore
Makefile added the matrix:map primitive and updated to use Jama-1.0.3
tests.txt Abstract operator stuff out into an Operator class with reduce and ap…

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.