You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rdoc
+31-26
Original file line number
Diff line number
Diff line change
@@ -17,37 +17,29 @@ Fast Numerical Linear Algebra Library for Ruby
17
17
== Description
18
18
19
19
NMatrix is a fast numerical linear algebra library for Ruby, with
20
-
dense and sparse matrices, written mostly in C and C++. It is part of
21
-
the SciRuby project.
22
-
23
-
Three gems are provided in this repository. The +nmatrix+ gem provides
24
-
all core matrix functionality, and requires minimal external
25
-
dependencies, making it easy to install. The +nmatrix-atlas+ and
26
-
+nmatrix-lapacke+ gems are optional extensions of the main +nmatrix+
27
-
gem that rely on external linear algebra libraries to provide advanced
28
-
features for dense matrices (singular value decomposition,
29
-
eigenvalue/eigenvector finding, Cholesky factorization), as well as
30
-
providing faster implementations of common operations like
31
-
multiplication, inverses, and determinants. +nmatrix-atlas+ requires
32
-
the {ATLAS library}[http://math-atlas.sourceforge.net/], while
33
-
+nmatrix-lapacke+ is designed to work with various LAPACK
34
-
implementations (including ATLAS). The +nmatrix-atlas+ and
35
-
+nmatrix-lapacke+ gems both provide similar interfaces for using these
36
-
advanced features.
20
+
dense and sparse matrices, written mostly in C and C++ (and with
21
+
experimental JRuby support). It is part of the SciRuby project.
37
22
38
23
NMatrix was inspired by {NArray}[http://narray.rubyforge.org], by Masahiro Tanaka.
39
24
25
+
Several gems are provided in this repository:
26
+
* +nmatrix+
27
+
* +nmatrix-java+
28
+
* +nmatrix-atlas+
29
+
* +nmatrix-lapacke+
30
+
* +nmatrix-fftw+
31
+
40
32
== Installation
41
33
42
34
To install the latest stable version:
43
35
44
36
gem install nmatrix
45
37
46
-
The requirements for NMatrix are:
47
-
* GCC 4.3 or later (clang support is experimental)
48
-
* Ruby 1.9.3 or later
38
+
NMatrix was originally written in C/C++, but an experimental JRuby version is also included (see instructions below for JRuby). For the MRI (C/C++) version, you need:
39
+
* Ruby 2.0 or later
40
+
* a compiler supporting C++11 (clang or GCC)
49
41
50
-
To install +nmatrix-atlas+ or +nmatrix-lapacke+, an additional requirement is a
42
+
To install the +nmatrix-atlas+ or +nmatrix-lapacke+ extensions, an additional requirement is a
0 commit comments