NMatrix is an experimental linear algebra library for Ruby, written mostly in C. It can be used with or without SciRuby, but is part of the SciRuby project.
NMatrix was inspired by and based heavily upon NArray, by Masahiro Tanaka.
Please be aware that SciRuby and NMatrix are in PRE-ALPHA status. If you're thinking of using SciRuby/NMatrix to write mission critical code, such as for driving a car or flying a space shuttle, you may wish to choose other software (for now).
Matrix storage containers: dense, yale, list (more to come)
Data types: int8, int16, int32, int64, float32, float64, complex64, complex128, rational64, rational128 (incomplete)
Very basic algebra (more to come)
From the command line,
git clone firstname.lastname@example.org:mohawkjohn/nmatrix.git cd nmatrix rake console
Gem coming later.
ATLAS and LAPACK, probably
See Synopsis (above) for now. Gem coming later.
More detailed installation instructions are available at here
Before commiting any code, you MUST read our Contributor Agreement.
Copyright © 2012, The Ruby Science Foundation.
All rights reserved.
NMatrix, along with SciRuby, is licensed under the BSD 2-clause license. See LICENSE.txt for details.