NetLogo 7.0.0-beta2:

matrix:solve

matrix:solve A C

Reports the solution to a linear system of equations, specified by the A and C matrices. In general, solving a set of linear equations is akin to matrix division. That is, the goal is to find a matrix B such that A * B = C. (For simple linear systems, C and B can both be 1-dimensional matrices – i.e. vectors). If A is not a square matrix, then a “least squares” solution is returned.

Take me to the full Matrix Extension Dictionary