Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Prototype numeric matrix library for Ruby via SciRuby
C++ C Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ext/nmatrix
lib
spec
.autotest
.gitignore
.rspec
Gemfile
History.txt
LICENSE.txt
Manifest.txt
README.rdoc
Rakefile
test.rb

README.rdoc

NMatrix

sciruby.com

Description

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.

WARNING:

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).

Features

  • 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)

SYNOPSIS:

From the command line,

git clone git@github.com:mohawkjohn/nmatrix.git
cd nmatrix
rake console

Gem coming later.

REQUIREMENTS:

  • ATLAS and LAPACK, probably

  • GCC 4.2

  • Ruby 1.9

INSTALLATION:

See Synopsis (above) for now. Gem coming later.

More detailed installation instructions are available at here

DEVELOPERS:

Before commiting any code, you MUST read our Contributor Agreement.

LICENSE:

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.

DONATIONS:

Something went wrong with that request. Please try again.