General Matrix.NET

Download GeneralMatrix.NET 3.5 (.NET 3.5)

The link above contains the full source code, including NUnit test files (+ VStudio 2008 project file) of the GeneralMatrix.NET library. The lib directory contains latest (at the time of writing) version of NUnit framework 2.5.5 that is required for the compilation and running of the NUnit tests.

This assembly contains .NET implemention of the JAMA (JAva MAtrix package). JAMA which is available from NIST is a basic linear algebra package. It provides useful routines for basic matrix operations as well as more complex Cholesky, QR, LU, Eigenvalue and Singula Value decompositions. This .NET port was done by Paul Selormey and is available here.

The version published here contains some useful agile additions to Paul's work:

  1. I have removed the additional testing driver. Instead I divided the testing app (which originally contains 1000+ lines of code) into 5 NUnit test classes each testing specific area of the package.
  2. As a result the assembly also contains 86 NUnit tests that are shipped as part of the dll. If you do not want to deploy testing code to production, comment out compilation of the Test folder.
  3. I have added NANt (version 0.85) build file that produces assemblies in the debug and release version. The same NAnt build file also runs NUnit tests as part of the build. UPDATE After upgrade to NANt 0.9 my build scripts stopped working so until I figure out the upgrade pathe the builds need to be done via visual studio .net
  4. The lib directory contain the NUnit version 2.5.5 that is required as a reference for compiling the assembly and running tests.