Numerical Ruby NArray (original) (raw)
NArray development
Next NArray is under development. The new version is incompatible but much advanced from the old version. Comments are welcome.
NArray old version
NArray is an Numerical N-dimensional Array class. Supported element types are 1/2/4-byte Integer, single/double-precision Real/Complex, and Ruby Object. This extension library incorporates fast calculation and easy manipulation of large numerical arrays into the Ruby language. NArray has features similar to NumPy, but NArray has vector and matrix subclasses.
No new feature will be added to the old version. Please check the new version above.
- Documents
- NArray method list
- princelab's NArray documents
* Tentative NArray Tutorial, etc.
- Examples
- Install
gem install narray
Extension for NArray
FFTW3
A FFTW3 wrapper for NArray.FFTW is a fast DFT (Discrete Fourier Transform) library.
- Source code:ver 0.1.0 (2003-01-04)
na_geev
Eigenvalue & Eigenvector method for NMatrix using dgeev & zgeev routine in Lapack. Effort to wrap other Lapack routines is ongoing very slowly.
- Source code:ver 0.1.2 (2004-03-01)
Projects using NArray
- Dennou Ruby Project (RubyDCL, RubyNetCDF, ...)
- Ruby/GSL
- GridFlow
- ruby/audio
- Ruby/PGPLOT
Other Tips
Link
- Ruby for Science @ Rwiki (old information, in Japanese)
- SciRuby Wiki
Author
Masahiro Tanaka
Last update: Feb 17 2016